:root{--bg:#f4f7f6;--surface:#fff;--text:#17241f;--muted:#64736e;--line:#dce7e3;--accent:#11685a;--accent-dark:#0b4f43;--soft:#e5f3ef;--warn:#8a5b00;--warn-bg:#fff6d8;--danger:#a12626}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif}a{color:var(--accent)}.top{display:flex;align-items:center;justify-content:space-between;padding:18px clamp(15px,4vw,45px);background:#fff;border-bottom:1px solid var(--line)}.top a{text-decoration:none}.brand{font-weight:850;color:var(--text);font-size:1.1rem}.nav{display:flex;gap:15px;align-items:center}.container{max-width:1120px;margin:30px auto;padding:0 18px}.auth-grid,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 10px 28px rgba(20,49,41,.07);margin-bottom:20px}.panel h1,.panel h2{margin-top:0}.field{margin-bottom:14px}.field label{display:block;font-weight:750;font-size:.9rem;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid #becfc9;border-radius:11px;padding:11px 12px;background:#fff;font:inherit}.field textarea{min-height:100px;resize:vertical}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.button,button{display:inline-block;border:0;border-radius:11px;background:var(--accent);color:#fff;padding:11px 15px;font-weight:800;text-decoration:none;cursor:pointer}.button.secondary,button.secondary{background:#e8f0ee;color:var(--accent)}.button.warning{background:var(--warn);color:#fff}.button.danger,button.danger{background:var(--danger)}.notice{padding:13px;border-radius:11px;margin:0 0 16px;background:var(--soft);color:var(--accent-dark)}.notice.warn{background:var(--warn-bg);color:#6b4700}.notice.error{background:#fdeaea;color:var(--danger)}.status{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:.75rem;font-weight:800;background:#edf1ef}.status.active,.status.paid{background:#def5e8;color:#0d703c}.status.pending{background:#fff1c9;color:#755000}.status.inactive,.status.expired{background:#eceff1;color:#59646a}.price-box{display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--soft);border-radius:15px;padding:16px}.price-box strong{font-size:1.5rem;color:var(--accent)}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--line);font-size:.88rem}th{color:var(--muted)}.table-wrap{overflow:auto}.small{font-size:.85rem;color:var(--muted)}.offer-card{border:1px solid var(--line);border-radius:14px;padding:15px;margin-top:12px}.offer-card h3{margin:0 0 6px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.location-tools{display:flex;align-items:center;gap:10px}.hero{text-align:center;max-width:680px;margin:0 auto 25px}.hero h1{font-size:clamp(1.8rem,5vw,3rem);margin-bottom:8px}.hero p{color:var(--muted)}@media(max-width:760px){.auth-grid,.two-col,.grid{grid-template-columns:1fr}.top{align-items:flex-start;gap:10px}.nav{font-size:.85rem}.panel{padding:18px}.price-box{align-items:flex-start;flex-direction:column}}

/* Sélecteur de localisation simplifié */
.location-picker{border:1px solid var(--line);border-radius:16px;padding:16px;background:#f9fbfa;margin:16px 0}.location-picker h3{margin:0 0 6px}.location-picker-intro{margin:0 0 14px;color:var(--muted)}.location-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.location-choice{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center}.location-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.location-search-row input{width:100%;border:1px solid #becfc9;border-radius:11px;padding:12px;background:#fff;font:inherit}.location-map{height:300px;border:1px solid var(--line);border-radius:14px;margin-top:12px;overflow:hidden;background:#eef3f1}.location-summary{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px dashed #a9c5bc;border-radius:12px;background:#fff;margin-top:12px}.location-summary[data-selected="1"]{border-style:solid;border-color:#80b6a5;background:#eff9f5}.location-summary span,.location-status{color:var(--muted);font-size:.85rem}.location-status{display:block;min-height:1.3em;margin-top:8px}.location-status[data-tone="success"]{color:#0d703c}.location-status[data-tone="error"]{color:var(--danger)}.location-map-error{padding:24px;text-align:center;color:var(--danger)}.optional-details{border:1px solid var(--line);border-radius:14px;margin:14px 0;background:#fff}.optional-details>summary{cursor:pointer;padding:14px 16px;font-weight:800;list-style:none}.optional-details>summary::-webkit-details-marker{display:none}.optional-details>summary::after{content:'＋';float:right;color:var(--accent)}.optional-details[open]>summary::after{content:'−'}.optional-details-content{padding:0 16px 16px}.form-step{margin:0 0 18px}.form-step-title{display:flex;align-items:center;gap:9px;margin:0 0 10px}.form-step-number{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font-size:.82rem}.help-inline{margin:-6px 0 12px;color:var(--muted);font-size:.85rem}.publication-submit{width:100%;font-size:1rem;padding:14px}.location-hidden-fields{display:none!important}
@media(max-width:760px){.location-choice-grid{grid-template-columns:1fr}.location-search-row{grid-template-columns:1fr}.location-search-row button{width:100%}.location-map{height:270px}}

/* v1.8.7 — icônes SVG indépendantes des polices emoji */
.ui-icon{display:inline-block;width:1.25em;height:1.25em;flex:0 0 auto;vertical-align:-.2em;color:currentColor;overflow:visible}
.location-choice{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.location-choice-icon{width:19px;height:19px}

/* v1.9.3 — navigation mobile-first et contrôles tactiles accessibles */
.check-line{display:flex;align-items:flex-start;gap:11px;line-height:1.42}
.check-line input[type="checkbox"],label input[type="checkbox"]{width:24px!important;height:24px!important;min-width:24px;min-height:24px;margin:0;accent-color:var(--accent);cursor:pointer}
.top{position:sticky;top:0;z-index:100;gap:14px}
.nav{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 0;white-space:nowrap}
.nav a{display:inline-flex;align-items:center;min-height:42px;padding:9px 11px;border-radius:10px;color:var(--accent-dark);font-weight:750}
.nav a:hover,.nav a:focus-visible,.nav a.active{background:var(--soft);outline:0}
@media(max-width:760px){
  .top{position:sticky;align-items:stretch;flex-direction:column;padding:11px 12px 8px}
  .brand{font-size:1.05rem;min-height:34px;display:flex;align-items:center}
  .nav{display:flex;width:calc(100vw - 24px);gap:5px;font-size:.82rem;padding-bottom:5px}
  .nav a{flex:0 0 auto;min-height:40px;padding:8px 10px;border:1px solid var(--line);background:#fff}
  .container{margin:18px auto;padding:0 12px}
  .panel{padding:16px;margin-bottom:14px}
  button,.button{min-height:46px}
  .field input,.field select,.field textarea{min-height:46px;font-size:16px}
}

/* v1.9.4 — navigation d’administration toujours complète et visible */
.admin-global-header{
  position:sticky;
  top:0;
  z-index:120;
  align-items:center;
  gap:14px;
  padding:12px clamp(12px,3vw,34px);
  box-shadow:0 4px 18px rgba(20,49,41,.06);
}
.admin-global-header .brand{display:flex;flex-direction:column;flex:0 0 auto;line-height:1.08}
.admin-global-header .brand span{font-size:1.08rem;font-weight:900}
.admin-global-header .brand small{font-size:.72rem;color:var(--muted);font-weight:700;margin-top:3px}
.admin-global-nav{flex:1 1 auto;display:flex!important;min-width:0;max-width:100%;overflow-x:auto!important;overflow-y:hidden;white-space:nowrap;gap:6px;padding:4px 2px 6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.admin-global-nav a{display:inline-flex!important;flex:0 0 auto;visibility:visible!important;opacity:1!important;min-height:42px;align-items:center;padding:9px 12px;border:1px solid transparent;border-radius:11px;color:var(--accent-dark);font-size:.86rem;font-weight:800}
.admin-global-nav a.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.admin-global-nav a:not(.active):hover,.admin-global-nav a:not(.active):focus-visible{background:var(--soft);border-color:var(--line)}
@media(max-width:760px){
  .admin-global-header{position:sticky;align-items:stretch;flex-direction:column;padding:9px 10px;gap:7px}
  .admin-global-header .brand{padding-inline:3px}
  .admin-global-nav{width:100%;gap:5px;padding-bottom:6px}
  .admin-global-nav a{min-height:40px;padding:8px 10px;border-color:var(--line);background:#fff;font-size:.8rem}
  .admin-global-nav a.active{background:var(--accent);border-color:var(--accent)}
}

.campaign-schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.campaign-schedule[hidden]{display:none!important}.campaign-schedule small{display:block;margin-top:7px;color:#52645f}@media(max-width:620px){.campaign-schedule-grid{grid-template-columns:1fr}}

/* v2.0.5 — header cohérent public / connecté et vrai menu mobile */
.site-header{position:sticky;top:0;z-index:500;display:flex;align-items:center;gap:18px;min-height:64px;padding:8px clamp(12px,3vw,34px);background:#fff;border-bottom:1px solid var(--line);box-shadow:0 4px 18px rgba(20,49,41,.06)}
.site-brand{display:flex;align-items:center;gap:9px;min-width:0;color:var(--text);text-decoration:none;flex:0 0 auto}.site-brand-logo{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:12px;background:var(--accent);padding-top:2px}.site-brand-logo img{display:block;width:100%;height:100%;object-fit:contain}.site-brand-copy strong,.site-brand-copy small{display:block;line-height:1.08}.site-brand-copy strong{font-size:1rem;font-weight:900}.site-brand-copy small{margin-top:3px;color:var(--muted);font-size:.68rem;font-weight:700}.site-navigation{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto}.site-navigation a{display:inline-flex;align-items:center;min-height:42px;padding:9px 11px;border-radius:10px;color:var(--accent-dark);font-size:.84rem;font-weight:800;text-decoration:none}.site-navigation a:hover,.site-navigation a:focus-visible,.site-navigation a.active{background:var(--soft);outline:0}.site-menu-toggle{display:none;align-items:center;gap:7px;margin-left:auto;min-height:42px;padding:8px 12px;background:var(--accent);color:#fff;border-radius:11px}
.help-toc-wrap{position:sticky;top:64px;z-index:220;padding:8px 0;background:var(--bg)}.toc{margin:0!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:4px 2px 8px}.toc a{flex:0 0 auto;white-space:nowrap}.hero p{color:inherit!important;opacity:.96}
@media(max-width:820px){.site-header{min-height:58px;padding:7px 10px;flex-wrap:wrap;gap:7px}.site-brand-logo{width:39px;height:39px}.site-brand-copy small{display:none}.site-menu-toggle{display:inline-flex}.site-navigation{display:none;order:3;width:100%;margin:0;padding:7px;background:#f7faf9;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 26px rgba(20,49,41,.12)}.site-navigation.is-open{display:grid;grid-template-columns:1fr}.site-navigation a{width:100%;min-height:46px;padding:11px 13px;background:#fff;border:1px solid var(--line)}.help-toc-wrap{top:58px;margin-inline:-12px;padding:7px 12px}.toc{gap:6px}.toc a{min-height:42px;display:inline-flex;align-items:center}}

/* v2.0.7 — page Compte robuste, cache renouvelé et identité mobile alignée */
html,body{max-width:100%;overflow-x:hidden}
.site-header,.site-brand,.site-brand-copy,.site-navigation,.container,.auth-grid,.panel,.field{min-width:0}
.site-brand-copy{padding-top:0;margin-top:3px}
.auth-grid>*{min-width:0}
.field input,.field select,.field textarea{max-width:100%;min-width:0}
.field select{white-space:normal;text-overflow:ellipsis}
@media(max-width:820px){
  .site-brand-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-top:6px!important;
  }
  .site-brand-copy strong{line-height:1.05}
  .site-header{width:100%;max-width:100%}
  .site-menu-toggle{flex:0 0 auto}
  .site-navigation{max-width:100%;overflow:hidden}
  .container{width:100%;max-width:100%;margin:16px auto;padding-inline:12px}
  .hero{max-width:100%;padding-inline:2px}
  .hero h1{font-size:clamp(1.55rem,8vw,2.25rem);overflow-wrap:anywhere}
  .auth-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px}
  .panel{width:100%;max-width:100%;padding:16px}
}
@media(max-width:390px){
  .site-brand{gap:7px}
  .site-brand-logo{width:37px;height:37px;flex:0 0 37px}
  .site-brand-copy{margin-top:5px!important}
  .site-brand-copy strong{font-size:.92rem}
  .site-menu-toggle{padding:8px 10px}
}

/* v3.12.0 — administration mobile compacte avec menu repliable */
.admin-menu-toggle{display:none;margin-left:auto;align-items:center;gap:8px;min-height:44px}
@media(max-width:760px){
  body:has(.admin-global-header){padding-top:64px}
  .admin-global-header{position:fixed!important;inset:0 0 auto 0!important;min-height:64px;flex-direction:row!important;align-items:center!important;padding:9px 11px!important}
  .admin-global-header .brand{min-width:0;flex:1 1 auto}
  .admin-menu-toggle{display:inline-flex;flex:0 0 auto}
  .admin-global-nav{display:none!important;position:fixed;top:64px;left:8px;right:8px;width:auto!important;max-height:calc(100dvh - 76px);overflow-y:auto!important;overflow-x:hidden!important;grid-template-columns:1fr 1fr;gap:7px;padding:9px;background:#f7faf9;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 35px rgba(20,49,41,.18);white-space:normal;z-index:1000}
  .admin-global-nav.is-open{display:grid!important}
  .admin-global-nav a{width:100%;white-space:normal;justify-content:flex-start;min-height:46px!important}
}
@media(max-width:390px){.admin-global-nav{grid-template-columns:1fr}}

/* v2.0.9 — header et navigation de section fixes sur mobile */
:root{--site-header-height:64px}
body{padding-top:var(--site-header-height)}
.site-header{
  position:fixed!important;
  inset:0 0 auto 0;
  width:100%;
  z-index:1000!important;
}
.help-toc-wrap{
  top:var(--site-header-height)!important;
  z-index:900!important;
  background:var(--bg)!important;
  box-shadow:0 6px 14px rgba(20,49,41,.06);
}
section[id]{scroll-margin-top:calc(var(--site-header-height) + 72px)}
@media(max-width:820px){
  body{padding-top:var(--site-header-height)}
  .site-header{flex-wrap:nowrap!important}
  .site-navigation{
    position:fixed!important;
    top:var(--site-header-height)!important;
    left:8px!important;
    right:8px!important;
    width:auto!important;
    max-height:calc(100dvh - var(--site-header-height) - 16px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    z-index:1001!important;
  }
  .help-toc-wrap{
    position:sticky!important;
    top:var(--site-header-height)!important;
    margin-inline:-12px!important;
    padding:7px 12px!important;
  }
  .toc{scrollbar-width:none!important}
  .toc::-webkit-scrollbar{display:none}
  section[id]{scroll-margin-top:calc(var(--site-header-height) + 64px)}
}

/* ICI.AM — baseline animée du header */
.site-brand-animated-tagline{display:flex!important;align-items:center;gap:.22em;white-space:nowrap}
.site-brand-rotator{display:inline-block;position:relative;overflow:hidden;vertical-align:bottom;transition:transform .22s ease,opacity .22s ease}
.site-brand-rotator.is-leaving{transform:translateY(-110%);opacity:0}
.site-brand-rotator.is-entering{transform:translateY(110%);opacity:0;transition:none}
@media(max-width:820px){.site-brand-copy small.site-brand-animated-tagline{display:flex!important;font-size:.62rem;max-width:54vw;overflow:hidden}}
@media(prefers-reduced-motion:reduce){.site-brand-rotator{transition:none!important}}

/* ICI.AM 3.14.13 — baseline stable du header */
.site-brand-animated-tagline{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;line-height:1.02!important;white-space:nowrap!important}
.site-brand-tagline-main{display:block;font-weight:800}
.site-brand-rotator{display:block!important;height:1.08em;overflow:hidden;line-height:1.08}
@media(max-width:820px){.site-brand-copy small.site-brand-animated-tagline{display:flex!important;font-size:.62rem!important;max-width:none!important;overflow:visible!important}}


/* ICI.AM 3.14.14 — baseline monoligne dans les headers */
.site-brand-animated-tagline{display:block!important;white-space:nowrap!important;line-height:1.08!important;overflow:hidden!important;width:19.4em!important;max-width:58vw!important}
.site-brand-rotator{position:relative!important;display:block!important;height:1.08em!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important}
.site-brand-tagline-main{display:none!important}
.site-brand-rotator .tagline-green{color:#11685a!important;font-weight:900!important}
@media(max-width:820px){.site-brand-copy small.site-brand-animated-tagline{display:block!important;font-size:.62rem!important;max-width:54vw!important;overflow:hidden!important}}


/* ICI.AM 3.14.15 — baseline cohérente avec le vert d'origine */
.site-brand-rotator .tagline-green{color:#19934b!important;font-weight:900!important}
.site-brand-rotator{word-spacing:.08em!important;letter-spacing:0!important;transition:transform .38s ease,opacity .38s ease!important}
.tagline-space{display:inline!important}
