/* My89 - accueil public V1. Les classes my89-test-* sont conservees pour eviter toute regression graphique. */
/* My89 prototype 0.1.1 : styles limites aux composants du test. */
.my89-test-page{margin:0;background:#f5f5f1;color:#202c31;font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.my89-test-page *,.my89-test-search *,.my89-test-status *{box-sizing:border-box}
.my89-test-page a{color:inherit;text-underline-offset:3px}
.my89-test-header{background:#fff;border-bottom:1px solid #dfdfd6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px max(20px,calc((100% - 1180px)/2))}
.my89-test-brand{font-size:35px;line-height:1;font-weight:850;letter-spacing:-1.8px;text-decoration:none;white-space:nowrap}
.my89-test-brand span{color:#b74919}.my89-test-brand small{display:block;font-size:12px;letter-spacing:.2px;color:#596369;margin-top:7px}
.my89-test-header nav{display:flex;gap:20px;font-size:14px;font-weight:650;flex-wrap:wrap}
.my89-test-shell{max-width:1180px;margin:0 auto;padding:24px 24px 45px}
.my89-test-status{font:13px/1.45 system-ui,sans-serif;border:1px solid #ddcdaa;background:#fff8e6;color:#403822;border-radius:10px;padding:11px 15px;margin:0 0 18px;display:flex;gap:6px 15px;align-items:center;flex-wrap:wrap}
.my89-test-status strong{font-size:11px;letter-spacing:.6px}.my89-test-status a{color:#403822;text-decoration:underline;margin-left:auto}
.my89-test-status details{flex-basis:100%;font-size:12px}.my89-test-status details p{max-width:90ch;margin:8px 0}.my89-test-status summary{cursor:pointer}
.my89-test-search{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff;border:1px solid #dce1dc;border-radius:18px;padding:28px;margin:0 0 20px;color:#202c31;box-shadow:0 6px 26px #14261b06}
.my89-test-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:#47705a;margin:0 0 8px}
.my89-test-search h1,.my89-test-search h2{font-size:clamp(24px,3vw,38px);line-height:1.18;letter-spacing:-.8px;margin:0 0 12px;color:#202c31}
.my89-test-search h2{font-size:26px}.my89-test-intro{font-size:16px;color:#58625e;max-width:78ch;margin:0 0 24px}
.my89-test-label{display:block;font-size:13px;font-weight:750;margin-bottom:6px}
.my89-test-input-row{display:flex;gap:10px;align-items:stretch}
.my89-test-form input,.my89-test-form select{box-sizing:border-box;min-width:0;width:100%;font:inherit;color:#202c31;background:#fff;border:1px solid #bfc9c2;border-radius:9px;min-height:46px;padding:10px 12px;line-height:1.3}
.my89-test-input-row input{flex:1;font-size:18px;min-height:54px;border:2px solid #718a7e;padding:12px 15px}
.my89-test-submit{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border:1px solid #ae4218;border-radius:9px;background:#b74919;color:#fff;font:700 16px/1.25 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.my89-test-submit:hover{background:#963612}.my89-test-submit:disabled{opacity:.6;cursor:wait}
.my89-test-hint{font-size:12px;line-height:1.5;color:#5d6763;margin:8px 0 14px}
.my89-test-filters{border-top:1px solid #e4e8e3;margin-top:18px;padding-top:12px}
.my89-test-filters summary{cursor:pointer;padding:5px 0;font-weight:750;font-size:15px;min-height:35px}
.my89-test-filters summary span{font-size:12px;color:#66716b;font-weight:400;margin-left:10px}
.my89-test-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:17px}
.my89-test-filter-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;min-width:0}
.my89-test-filter-grid input,.my89-test-filter-grid select{font-size:15px;font-weight:400}
.my89-test-filter-actions{display:flex;flex-direction:column;gap:9px;justify-content:end;font-size:12px}
.my89-test-filter-actions a{color:#425b4c;text-decoration:underline}
.my89-test-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.my89-test-quick a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #c7d7cd;border-radius:24px;background:#f2f7f3;color:#234a34;padding:9px 17px;text-decoration:none;font-weight:650;font-size:14px}
.my89-test-quick a:hover{background:#dcecdf}
.my89-test-legacy{border:1px solid #d8ded9;border-radius:12px;margin:0 0 18px;background:#fff}
.my89-test-legacy>summary{cursor:pointer;padding:15px 18px;font:650 15px/1.4 system-ui,sans-serif;color:#294b3b}
.my89-test-legacy[open]>summary{border-bottom:1px solid #e0e5e0}.my89-test-legacy>.search-block{margin:0;padding:16px}
.my89-test-result-head{margin:30px 0 16px}.my89-test-result-head h1{font-size:25px;line-height:1.3;margin:0;overflow-wrap:anywhere}.my89-test-result-head p{color:#5d6763;margin:5px 0}
.my89-test-criteria{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}.my89-test-criteria span{padding:4px 9px;border-radius:7px;background:#e5ece6;color:#335a40;font-size:12px}
.my89-test-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:25px 0 14px}.my89-test-section-head h2{margin:0;font-size:23px}.my89-test-section-head h2 span{font-size:14px;font-weight:500;color:#647166;margin-left:6px}.my89-test-section-head>a{font-size:13px;color:#3c5d47}
.my89-test-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.my89-test-card{background:#fff;border:1px solid #e0e3dc;border-radius:13px;overflow:hidden;display:grid;grid-template-columns:145px minmax(0,1fr)}
.my89-test-visual{display:flex;align-items:center;justify-content:center;background:#eeeee8;color:#697664;text-decoration:none;font-size:12px;font-weight:700;min-height:150px}
.my89-test-visual img{max-width:100%;width:100%;height:190px;object-fit:contain;background:#fff;align-self:start}.my89-test-card-body{padding:15px;min-width:0}
.my89-test-card-kind{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#557261;font-weight:750;margin:0 0 7px}
.my89-test-badge{border-radius:4px;background:#fff0da;color:#96500f;padding:3px 6px}.my89-test-card h3{font-size:18px;line-height:1.25;margin:0 0 10px;overflow-wrap:anywhere}
.my89-test-card h3 a{text-decoration:none}.my89-test-card h3 a:hover{text-decoration:underline}.my89-test-date{color:#26563a;font-weight:700;font-size:13px;margin:0 0 4px}
.my89-test-place{font-size:13px;color:#4e5c55;line-height:1.4;margin:0 0 8px}.my89-test-summary{color:#66706a;font-size:12px;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.my89-test-detail{display:inline-block;font-size:13px;font-weight:750;color:#2d533d;padding:4px 0;min-height:30px}
.my89-test-note,.my89-test-empty{padding:13px 16px;border:1px solid #dde5de;border-radius:10px;background:#eef3ed;font-size:13px;color:#3f5947;margin:14px 0}
.my89-test-error,.my89-test-warning{padding:14px;border:1px solid #dda78a;background:#fff3ea;color:#873419;border-radius:9px;overflow-wrap:anywhere}.my89-test-warning{font-size:12px;padding:6px}
.my89-test-pagination{display:flex;gap:15px;justify-content:center;align-items:center;margin:28px 0;flex-wrap:wrap}.my89-test-pagination a{display:inline-block;padding:12px 18px;background:#fff;border:1px solid #c4d2c7;border-radius:9px;text-decoration:none}
.my89-test-diagnostic{font-size:12px;color:#5c6660;margin-top:30px}.my89-test-diagnostic summary{cursor:pointer}.my89-test-footer{text-align:center;padding:25px;font-size:12px;color:#657065;border-top:1px solid #dce2db}
.my89-test-admin{max-width:900px}.my89-test-admin h1{line-height:1.2}.my89-test-admin .my89-test-search{margin-top:24px}.my89-test-confirm{display:flex;align-items:start;gap:10px;margin:15px 0;font-size:14px}.my89-test-confirm input{width:18px;height:18px;margin:3px 0 0;flex-shrink:0}
.my89-test-page :focus-visible,.my89-test-search :focus-visible,.my89-test-status :focus-visible,.my89-test-legacy>summary:focus-visible{outline:3px solid #376bc0;outline-offset:3px}
@media(max-width:900px){.my89-test-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.my89-test-card{grid-template-columns:110px minmax(0,1fr)}.my89-test-visual img{height:165px}.my89-test-card h3{font-size:16px}}
@media(max-width:650px){.my89-test-shell{padding:14px 12px 30px}.my89-test-header{padding:14px 16px}.my89-test-brand{font-size:30px}.my89-test-header nav{gap:10px;font-size:12px;max-width:170px;justify-content:flex-end}.my89-test-search{padding:19px 16px;border-radius:13px}.my89-test-input-row{flex-direction:column;gap:8px}.my89-test-input-row input{font-size:16px;min-height:50px}.my89-test-input-row .my89-test-submit{min-height:46px}.my89-test-intro{font-size:14px;margin-bottom:17px}.my89-test-filters summary span{display:block;margin:3px 0 0 17px}.my89-test-quick{gap:6px}.my89-test-quick a{padding:8px 12px;font-size:12px;min-height:44px}.my89-test-card-grid{grid-template-columns:minmax(0,1fr)}.my89-test-card{grid-template-columns:110px minmax(0,1fr)}.my89-test-status{font-size:12px;padding:10px 12px}.my89-test-status a{margin-left:0}.my89-test-result-head h1{font-size:22px}.my89-test-section-head h2{font-size:20px}.my89-test-section-head{align-items:start}.my89-test-filter-grid{gap:12px}.my89-test-filter-grid input,.my89-test-filter-grid select{font-size:16px;min-width:0}.my89-test-legacy>.search-block{display:block;padding:10px}.my89-test-legacy .villes-links{display:flex;gap:6px;flex-wrap:wrap}.my89-test-legacy .villes-links a{padding:7px}.my89-test-home .shell{max-width:100%;box-sizing:border-box}.my89-test-home .my89-test-status{margin-top:10px}}
@media(max-width:360px){.my89-test-filter-grid{grid-template-columns:minmax(0,1fr)}.my89-test-card{grid-template-columns:90px minmax(0,1fr)}.my89-test-card-body{padding:12px}.my89-test-search h1{font-size:25px}}

/* Sur les resultats, laisser la place aux annonces plutot que repeter tout l'accueil. */
.my89-test-search--compact{padding:20px 24px}
.my89-test-search--compact h2{font-size:20px;margin-bottom:12px}
.my89-test-search--compact .my89-test-label,.my89-test-search--compact #my89-test-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.my89-test-search--compact .my89-test-filters{margin-top:12px;padding-top:6px}
.my89-test-search--compact .my89-test-filters summary span{display:none}
@media(max-width:650px){.my89-test-search--compact{padding:16px}.my89-test-search--compact .my89-test-input-row{flex-direction:row}.my89-test-search--compact .my89-test-submit{padding:10px 12px;font-size:14px}.my89-test-search--compact h2{font-size:18px}.my89-test-search--compact .my89-test-input-row input{width:0;flex:1}}

/* 0.1.1 - Explain contextual matches, without changing the public site styles. */
.my89-test-context-nav{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;font-size:13px;margin:0 0 12px}
.my89-test-match-info{font-size:12px;line-height:1.45;color:#53645a;background:#f2f6f1;border:1px solid #d6e0d6;border-radius:7px;padding:7px 9px;margin:0 0 10px;overflow-wrap:anywhere}
.my89-test-match-info>summary{cursor:pointer;font-weight:650;min-height:28px}
.my89-test-match-info p{margin:6px 0}
/* Compact only the new home form; do not hide, crop or move advertising banners. */
.my89-test-home .my89-test-search{padding:20px 24px;margin-bottom:16px}
.my89-test-home .my89-test-search h1{font-size:clamp(24px,3vw,32px);margin-bottom:9px}
.my89-test-home .my89-test-intro{font-size:14px;margin-bottom:14px}
.my89-test-home .my89-test-filters{margin-top:10px;padding-top:8px}
.my89-test-home .my89-test-hint{margin-bottom:8px}
.my89-test-home .my89-test-quick{margin-top:10px}
@media(max-width:650px){
 .my89-test-home .my89-test-search{padding:16px}
 .my89-test-home .my89-test-input-row{flex-direction:row}
 .my89-test-home .my89-test-input-row input{width:0;flex:1;font-size:16px;padding:10px;min-height:48px}
 .my89-test-home .my89-test-input-row .my89-test-submit{padding:10px 12px;font-size:14px;min-height:48px}
 .my89-test-context-nav{font-size:12px;gap:12px}
}

/* ========================================================================== 
   Prototype 0.2 - ergonomie mobile accueil + resultats
   ========================================================================== */
.my89-test-status{display:block}
.my89-test-status-head{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap}
.my89-test-status-head a{margin-left:auto}
.my89-test-query-wrap{position:relative;flex:1;min-width:0}
.my89-test-suggestions{position:absolute;z-index:1200;left:0;right:0;top:calc(100% + 6px);max-height:310px;overflow:auto;background:#fff;border:1px solid #cfd8d1;border-radius:12px;box-shadow:0 14px 34px rgba(23,40,31,.16);padding:5px}
.my89-test-suggestion{display:block;width:100%;border:0;border-radius:9px;background:#fff;color:#202c31;text-align:left;padding:10px 12px;cursor:pointer;font:inherit}
.my89-test-suggestion:hover,.my89-test-suggestion.-active{background:#eef5ef}
.my89-test-suggestion-title{display:block;font-weight:720;font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my89-test-suggestion-meta{display:block;color:#68736d;font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my89-test-result-query{font-size:16px!important;line-height:1.4;color:#52605a!important;max-width:76ch;overflow-wrap:anywhere}
.my89-test-note--compact{padding:9px 12px;margin:10px 0}
.my89-test-related{margin-top:24px;padding-top:18px;border-top:1px solid #dce3dd}
.my89-test-related>h3{margin:0 0 4px;font-size:18px}
.my89-test-related>p{margin:0 0 12px;color:#627069;font-size:12px;max-width:80ch}
.my89-test-topagenda-mobile-hint{display:none;color:#52625a;font-size:13px;margin:.35rem 0 .25rem}

@media(max-width:650px){
  /* Le menu partage reste intact : ces regles ne valent que pour le prototype. */
  body.my89-test-home,body.my89-test-page{--my89-header-offset:4.25rem!important}
  body.my89-test-home .nav-wrapper,body.my89-test-page .nav-wrapper{min-height:4.25rem!important}
  body.my89-test-home .nav-wrapper>.nav,body.my89-test-page .nav-wrapper>.nav{height:4.25rem!important;margin:0!important;padding:.2rem .8rem!important}
  body.my89-test-home .logo-link,body.my89-test-page .logo-link{padding:.15rem!important}
  body.my89-test-home .logo-link>.logo,body.my89-test-page .logo-link>.logo{max-width:148px!important;width:148px!important}
  body.my89-test-home .burger,body.my89-test-page .burger{font-size:8px!important}

  .my89-test-home .shell{padding:.65rem .75rem 1.4rem}
  .my89-test-home .my89-test-search{padding:16px 15px;margin-bottom:12px}
  .my89-test-home .my89-test-eyebrow{font-size:10px;letter-spacing:1.35px;margin-bottom:5px}
  .my89-test-home .my89-test-search h1{font-size:27px;line-height:1.08;letter-spacing:-.55px;margin-bottom:9px}
  .my89-test-home .my89-test-intro{font-size:13px;line-height:1.42;margin-bottom:12px}
  .my89-test-home .my89-test-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .my89-test-home .my89-test-input-row{display:block}
  .my89-test-home .my89-test-query-wrap{width:100%}
  .my89-test-home .my89-test-input-row input{width:100%;font-size:16px;min-height:50px;padding:10px 12px}
  .my89-test-home .my89-test-input-row .my89-test-submit{width:100%;min-height:48px;margin-top:8px;font-size:15px}
  .my89-test-home .my89-test-hint{font-size:11px;line-height:1.35;margin:7px 0 8px}
  .my89-test-home .my89-test-filters{margin-top:7px;padding-top:7px}
  .my89-test-home .my89-test-filters summary{font-size:15px;min-height:40px;padding:7px 0}
  .my89-test-home .my89-test-filters summary span{display:none}
  .my89-test-home .my89-test-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
  .my89-test-home .my89-test-quick a{width:100%;min-height:44px;padding:8px 9px;font-size:12px;text-align:center}
  .my89-test-suggestions{max-height:245px;border-radius:11px}
  .my89-test-suggestion{padding:9px 10px}

  /* Le panneau de test ne doit plus repousser le contenu utile. */
  .my89-test-status{padding:7px 10px;margin-bottom:10px;border-radius:9px;font-size:11px}
  .my89-test-status-head{gap:5px 9px}
  .my89-test-status-head strong{font-size:10px}
  .my89-test-status-note{display:none}
  .my89-test-status-head a{font-size:10px;margin-left:auto}
  .my89-test-status details{margin-top:3px;font-size:10.5px}
  .my89-test-status details p{margin:6px 0}
  .my89-test-context-nav{font-size:11px;gap:14px;margin:0 2px 7px}

  /* Sur les resultats : on montre les resultats avant les outils. */
  .my89-test-page .my89-test-shell{padding:9px 12px 26px}
  .my89-test-search--compact{padding:11px 12px;margin-bottom:10px;border-radius:12px}
  .my89-test-search--compact h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .my89-test-search--compact .my89-test-input-row{display:flex;flex-direction:row;gap:7px}
  .my89-test-search--compact .my89-test-query-wrap{min-width:0}
  .my89-test-search--compact .my89-test-input-row input{width:0;flex:1;min-height:46px;font-size:15px;padding:9px 10px}
  .my89-test-search--compact .my89-test-submit{min-height:46px;padding:9px 11px;font-size:13px}
  .my89-test-search--compact .my89-test-filters{margin-top:8px;padding-top:5px}
  .my89-test-search--compact .my89-test-filters summary{min-height:38px;padding:6px 0;font-size:14px}
  .my89-test-result-head{margin:16px 0 8px}
  .my89-test-result-head h1{font-size:27px;line-height:1.08;letter-spacing:-.45px}
  .my89-test-result-query{font-size:14px!important;line-height:1.35!important;margin-top:5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .my89-test-criteria{margin:8px 0 10px;gap:5px}
  .my89-test-criteria span{font-size:11px;padding:4px 8px}
  .my89-test-note{font-size:11px;line-height:1.4;padding:9px 11px;margin:9px 0}
  .my89-test-section-head{margin:18px 0 9px}
  .my89-test-section-head h2{font-size:21px}
  .my89-test-card-grid{gap:10px}
  .my89-test-card{grid-template-columns:92px minmax(0,1fr);border-radius:13px;align-items:start}
  .my89-test-visual{align-self:start;min-height:0;background:#fff}
  .my89-test-visual img{height:auto;max-height:150px;object-fit:contain;background:#fff}
  .my89-test-card-body{padding:11px 11px 12px}
  .my89-test-card-kind{font-size:9px;margin-bottom:5px}
  .my89-test-card h3{font-size:15.5px;line-height:1.2;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .my89-test-date{font-size:12px;line-height:1.35;margin-bottom:3px}
  .my89-test-place{font-size:12px;line-height:1.35;margin-bottom:6px}
  .my89-test-summary{display:none}
  .my89-test-detail{font-size:12px;min-height:26px;padding:3px 0}
  .my89-test-match-info{font-size:10.5px;padding:6px 7px;margin-bottom:7px}
  .my89-test-related{margin-top:18px;padding-top:14px}
  .my89-test-related>h3{font-size:17px}
  .my89-test-related>p{font-size:11px;line-height:1.4}

  /* Top Agenda : une seule rangee horizontale, lisible au doigt. */
  .my89-test-home .topagenda-bar .modes{display:none!important}
  .my89-test-topagenda-mobile-hint{display:block}
  .my89-test-home #view-poster .poster-grid{display:flex!important;gap:11px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:3px 1px 10px;margin-top:.25rem;scrollbar-width:none}
  .my89-test-home #view-poster .poster-grid::-webkit-scrollbar{display:none}
  .my89-test-home #view-poster .poster-grid .tile{flex:0 0 min(78vw,292px);scroll-snap-align:start}
  .my89-test-home #view-poster .poster-grid .tile .cap h4{font-size:1rem}
  .my89-test-home .topagenda-load-more{margin:1rem 0 1.35rem}
}

@media(max-width:370px){
  body.my89-test-home .logo-link>.logo,body.my89-test-page .logo-link>.logo{max-width:135px!important;width:135px!important}
  .my89-test-home .my89-test-search h1{font-size:25px}
  .my89-test-search--compact .my89-test-submit{padding:8px 9px;font-size:12px}
  .my89-test-card{grid-template-columns:84px minmax(0,1fr)}
}

/* ========================================================================== 
   Prototype 0.2.1 - accueil simplifie, navigation calendrier/categories/villes
   ========================================================================== */
.my89-test-search--home{padding:20px 24px;margin-bottom:14px}
.my89-test-search--home h1{font-size:clamp(25px,2.6vw,34px);line-height:1.08;letter-spacing:-.65px;margin:0 0 16px;white-space:nowrap}
.my89-test-search--home .my89-test-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.my89-test-search--home .my89-test-submit{background:#339900;border-color:#339900;color:#fff}
.my89-test-search--home .my89-test-submit:hover{background:#267700;border-color:#267700}

.my89-test-discovery{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff;border:1px solid #dce1dc;border-radius:18px;padding:22px 24px;margin:0 0 20px;color:#202c31;box-shadow:0 6px 26px #14261b06}
.my89-test-discovery h2{margin:0 0 16px;color:#294c36;font-size:clamp(20px,2.25vw,27px);line-height:1.15;letter-spacing:-.35px;white-space:nowrap}
.my89-test-discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.my89-test-discovery-grid a,.my89-test-discovery-grid button{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 12px;border:1px solid #c7d7cd;border-radius:14px;background:#f2f7f3;color:#234a34;text-decoration:none;text-align:center;font:inherit;font-size:16px;font-weight:760;line-height:1.15;cursor:pointer}
.my89-test-discovery-grid a:hover,.my89-test-discovery-grid button:hover,.my89-test-discovery-grid button[aria-expanded="true"]{background:#e0eee2;border-color:#a9c3b0}
.my89-test-discovery-panel{margin-top:14px;padding:16px;border:1px solid #d7e0d8;border-radius:14px;background:#fafcf9}
.my89-test-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.my89-test-panel-head h3{margin:0;font-size:18px;color:#294c36}
.my89-test-panel-close{border:0;background:transparent;color:#365542;font-size:28px;line-height:1;padding:0 4px;cursor:pointer}
.my89-test-calendar-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(220px,1fr);gap:18px;align-items:start}
.my89-test-calendar-layout .cal{max-width:none}
.my89-test-date-jump{display:flex;flex-direction:column;gap:8px;font-weight:740;color:#294c36}
.my89-test-date-jump input{width:100%;max-width:320px;min-height:48px;padding:10px 12px;border:1px solid #c7d3ca;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#202c31}
.my89-test-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.my89-test-category-grid a{display:flex;align-items:center;min-height:52px;padding:10px 12px;border:1px solid #c7d7cd;border-radius:12px;background:#fff;color:#294c36;text-decoration:none;font-weight:720;line-height:1.25}
.my89-test-category-grid a:hover{background:#edf5ee}
.my89-test-city-form{display:flex;align-items:end;gap:10px}
.my89-test-city-wrap{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
.my89-test-city-wrap label{font-weight:740;color:#294c36}
.my89-test-city-wrap input{width:100%;min-height:50px;padding:10px 12px;border:1px solid #c7d3ca;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#202c31}
.my89-test-city-submit{min-height:50px;padding:10px 18px;border:0;border-radius:10px;background:#339900;color:#fff;font:inherit;font-size:15px;font-weight:820;cursor:pointer}
.my89-test-city-submit:hover{background:#267700}
.my89-test-city-suggestions{position:absolute;z-index:1300;left:0;right:0;top:calc(100% + 6px);max-height:270px;overflow:auto;background:#fff;border:1px solid #cfd8d1;border-radius:11px;box-shadow:0 14px 34px rgba(23,40,31,.16);padding:5px}
.my89-test-city-suggestion{display:block;width:100%;border:0;border-radius:8px;background:#fff;color:#202c31;text-align:left;padding:10px 12px;cursor:pointer;font:inherit;font-weight:690}
.my89-test-city-suggestion:hover,.my89-test-city-suggestion.-active{background:#eef5ef}
#top-agenda{scroll-margin-top:5rem}

@media(max-width:760px){
  .my89-test-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .my89-test-calendar-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:650px){
  .my89-test-home .my89-test-search--home{padding:14px 14px 15px;margin-bottom:10px}
  .my89-test-home .my89-test-search--home h1{font-size:clamp(15px,4.55vw,20px);line-height:1.05;letter-spacing:-.45px;margin-bottom:12px;white-space:nowrap}
  .my89-test-home .my89-test-search--home .my89-test-input-row{display:block}
  .my89-test-home .my89-test-search--home .my89-test-query-wrap{width:100%}
  .my89-test-home .my89-test-search--home .my89-test-input-row input{width:100%;min-height:50px;padding:10px 12px;font-size:16px}
  .my89-test-home .my89-test-search--home .my89-test-submit{width:100%;min-height:50px;margin-top:8px;padding:10px 12px;font-size:16px}
  .my89-test-discovery{padding:15px 14px;border-radius:13px;margin-bottom:14px}
  .my89-test-discovery h2{font-size:clamp(13px,4vw,18px);line-height:1.08;margin-bottom:13px;letter-spacing:-.25px;white-space:nowrap}
  .my89-test-discovery-grid{gap:8px}
  .my89-test-discovery-grid a,.my89-test-discovery-grid button{min-height:50px;padding:8px 7px;border-radius:24px;font-size:15.5px;line-height:1.15}
  .my89-test-discovery-panel{margin-top:12px;padding:12px;border-radius:12px}
  .my89-test-panel-head{margin-bottom:10px}
  .my89-test-panel-head h3{font-size:17px}
  .my89-test-calendar-layout{gap:12px}
  .my89-test-calendar-layout .bloc-calendrier,.my89-test-calendar-layout .cal{width:100%;max-width:100%}
  .my89-test-date-jump{font-size:14px}
  .my89-test-date-jump input{max-width:none}
  .my89-test-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .my89-test-category-grid a{min-height:56px;padding:9px 8px;font-size:13.5px;text-align:center;justify-content:center}
  .my89-test-city-form{display:block}
  .my89-test-city-submit{width:100%;margin-top:8px;font-size:16px}
  .my89-test-city-suggestions{max-height:235px}
}
@media(max-width:370px){
  .my89-test-home .my89-test-search--home h1{font-size:15px}
  .my89-test-discovery h2{font-size:13px}
  .my89-test-discovery-grid a,.my89-test-discovery-grid button{font-size:14.5px}
}


/* ========================================================================== 
   Prototype 0.2.6 - pictogrammes SVG locaux + calendrier tactile
   ========================================================================== */

.my89-test-discovery-grid .my89-test-discovery-item{gap:8px}
.my89-test-discovery-grid .my89-test-discovery-item>.my89-icon{width:24px;height:24px;flex-basis:24px}

.my89-test-calendar-layout{display:block;max-width:470px;margin:0 auto}
.my89-test-calendar-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.my89-test-calendar-reset{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#315941;padding:6px 2px;font:inherit;font-size:14px;font-weight:760;cursor:pointer}
.my89-test-calendar-reset:hover{text-decoration:underline}
.my89-test-calendar-reset .my89-icon{width:20px;height:20px;flex-basis:20px}
.my89-test-calendar-actions .my89-test-panel-close{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:#eef4ef;color:#315941}
.my89-test-calendar-actions .my89-test-panel-close:hover{background:#e1ece3}
.my89-test-calendar-actions .my89-test-panel-close .my89-icon{width:22px;height:22px;flex-basis:22px}

.my89-test-calendar-wrap,.my89-test-calendar{width:100%!important;max-width:none!important}
.my89-test-calendar{table-layout:fixed;border-collapse:separate!important;border-spacing:0;overflow:hidden;border:1px solid #d8ded9!important;border-radius:14px!important;box-shadow:0 2px 10px rgba(25,55,36,.04)}
.my89-test-calendar th,.my89-test-calendar td{border:0!important;border-right:1px solid #ecefec!important;border-bottom:1px solid #ecefec!important}
.my89-test-calendar tr>*:last-child{border-right:0!important}
.my89-test-calendar tbody tr:last-child td{border-bottom:0!important}
.my89-test-calendar .-cal-head{padding:0!important;background:#f3f7f3!important}
.my89-test-calendar-head{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:8px;min-height:58px;padding:5px 6px}
.my89-test-calendar .-cal-title{font-size:1.12rem!important;font-weight:800!important;color:#234a34;text-align:center}
.my89-test-calendar-nav{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin:auto;border:0;border-radius:999px;background:#fff;color:#315941;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.my89-test-calendar-nav:hover{background:#e4efe6}
.my89-test-calendar-nav .my89-icon{width:28px;height:28px;flex-basis:28px}
.my89-test-calendar .-dow{height:34px;background:#fafbfa;color:#6c756f;font-size:.78rem;font-weight:700}
.my89-test-calendar .-empty{background:#fafbfa;height:48px}
.my89-test-calendar .-cell{height:48px;padding:0!important;background:#fff}
.my89-test-calendar .-cell a{display:flex;align-items:center;justify-content:center;width:100%;height:48px;text-decoration:none;font-size:1rem;border-radius:0;outline-offset:-3px}
.my89-test-calendar .-cell.-future a{color:#339900!important;font-weight:800!important}
.my89-test-calendar .-cell.-past a{color:#9aa0a6!important;font-weight:400!important}
.my89-test-calendar .-cell.-today{background:#ffff99!important}
.my89-test-calendar .-cell.-today a{color:#2b6900!important;font-weight:900!important}
.my89-test-calendar .-cell a:hover,.my89-test-calendar .-cell a:focus-visible{background:#eaf5eb}
.my89-test-calendar .-cell.-today a:hover,.my89-test-calendar .-cell.-today a:focus-visible{background:#fff37a}

@media(max-width:650px){
  .my89-test-discovery-grid .my89-test-discovery-item{justify-content:flex-start;text-align:left;padding-left:13px;padding-right:10px;font-size:16px}
  .my89-test-discovery-grid .my89-test-discovery-item>.my89-icon{width:25px;height:25px;flex-basis:25px}
  .my89-test-calendar-layout{max-width:100%}
  .my89-test-calendar-head{grid-template-columns:44px 1fr 44px;min-height:54px;padding:4px}
  .my89-test-calendar-nav{width:38px;height:38px}
  .my89-test-calendar .-cal-title{font-size:1.05rem!important}
  .my89-test-calendar .-dow{height:32px;font-size:.75rem}
  .my89-test-calendar .-empty,.my89-test-calendar .-cell,.my89-test-calendar .-cell a{height:46px}
  .my89-test-calendar .-cell a{font-size:.98rem}
}



/* 0.2.6 - icônes SVG servies localement par My89 : aucun appel Google Fonts. */
.my89-icon{
  display:block;
  width:24px;
  height:24px;
  flex:0 0 24px;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}
.my89-test-panel-close .my89-icon{width:22px;height:22px;flex-basis:22px}


/* ========================================================================== 
   Prototype 0.2.6 - transition visuelle vers le My89 public actuel
   Objectif : conserver les nouvelles fonctions tout en reprenant les codes
   existants : gris #eee, bord #ccc, noir, vert #339900, arrondi .6rem.
   ========================================================================== */
.my89-test-discovery{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  margin:1rem 0 1.25rem;
  box-shadow:none;
  color:#000;
}
.my89-test-discovery h2{
  color:#000;
  font-size:1.45rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
  margin:0 0 .8rem;
  white-space:normal;
}
.my89-test-discovery-grid{gap:.55rem}
.my89-test-discovery-grid a,
.my89-test-discovery-grid button{
  justify-content:flex-start;
  min-height:48px;
  padding:.55rem .85rem;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#eee;
  color:#000;
  font-size:1rem;
  font-weight:600;
  line-height:1.2;
}
.my89-test-discovery-grid a:hover,
.my89-test-discovery-grid button:hover,
.my89-test-discovery-grid button[aria-expanded="true"]{
  background:#e2e2e2;
  border-color:#9c9c9c;
  color:#000;
}
.my89-test-discovery-grid .my89-test-discovery-item>.my89-icon{
  width:24px;
  height:24px;
  flex-basis:24px;
}

.my89-test-discovery-panel{
  margin-top:1rem;
  padding:.8rem 0 0;
  border:0;
  border-radius:0;
  background:transparent;
}
.my89-test-panel-head{margin-bottom:.65rem}
.my89-test-panel-head h3{
  color:#000;
  font-size:1.35rem;
  font-weight:700;
}
.my89-test-panel-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#fff;
  color:#000;
}
.my89-test-panel-close:hover{background:#ffff99;border-color:#ccc}

.my89-test-category-grid{gap:.55rem}
.my89-test-category-grid a{
  min-height:50px;
  padding:.55rem .85rem;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#eee;
  color:#000;
  font-weight:500;
  line-height:1.25;
}
.my89-test-category-grid a:hover{background:#e2e2e2;border-color:#9c9c9c}

.my89-test-city-wrap label{color:#000;font-weight:700}
.my89-test-city-radius{display:flex;flex:0 0 170px;min-width:150px;flex-direction:column;gap:7px}
.my89-test-city-radius label{color:#000;font-weight:700}
.my89-test-city-radius select{min-height:48px;padding:.65rem .75rem;border:1px solid #ccc;border-radius:.6rem;background:#fff;color:#000;font:inherit;font-size:1rem}
.my89-test-city-wrap input{
  min-height:48px;
  padding:.7rem .9rem;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#fff;
  color:#000;
  font-size:1.05rem;
}
.my89-test-city-submit{
  min-height:48px;
  padding:.6rem .9rem;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#fff;
  color:#000;
  font-size:1rem;
  font-weight:600;
}
.my89-test-city-submit:hover{background:#ffff99;border-color:#ccc;color:#000}
.my89-test-city-suggestions{
  border:1px solid #ccc;
  border-radius:.6rem;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.my89-test-city-suggestion{border-radius:.45rem;color:#000;font-weight:500}
.my89-test-city-suggestion:hover,
.my89-test-city-suggestion.-active{background:#eee}

.my89-test-calendar-layout{max-width:360px;margin:0}
.my89-test-calendar-actions{max-width:360px;margin:0 0 .55rem}
.my89-test-calendar-reset{
  color:#000;
  padding:.4rem 0;
  font-size:1rem;
  font-weight:600;
}
.my89-test-calendar-actions .my89-test-panel-close{
  width:40px;
  height:40px;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#fff;
  color:#000;
}
.my89-test-calendar-actions .my89-test-panel-close:hover{background:#ffff99}

.my89-test-calendar{
  max-width:360px!important;
  border:1px solid #ccc!important;
  border-radius:12px!important;
  box-shadow:none!important;
  background:#fff;
}
.my89-test-calendar th,
.my89-test-calendar td{
  border-right:1px solid #e6e7eb!important;
  border-bottom:1px solid #e6e7eb!important;
}
.my89-test-calendar .-cal-head{
  padding:.6rem .5rem!important;
  background:#eee!important;
  border-bottom:1px solid #ccc!important;
}
.my89-test-calendar-head{
  display:block;
  min-height:0;
  padding:0;
}
.my89-test-calendar .-cal-title{
  color:#000;
  font-size:1.34rem!important;
  font-weight:700!important;
  line-height:1.2;
  text-align:center;
}
.my89-test-calendar-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  margin-top:.2rem;
  color:#000;
  font-size:.95rem;
  font-weight:400;
  line-height:1.3;
  white-space:nowrap;
}
.my89-test-calendar-nav{
  display:inline;
  width:auto;
  height:auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#000;
  box-shadow:none;
  font:inherit;
  cursor:pointer;
}
.my89-test-calendar-nav:hover{text-decoration:underline;background:transparent}
.my89-test-calendar .-dow{
  height:auto;
  padding:.5rem;
  background:#fbfbfc;
  color:#000;
  font-size:1rem;
  font-weight:700;
}
.my89-test-calendar .-empty{height:42px;background:#fff}
.my89-test-calendar .-cell{height:42px;background:#fff}
.my89-test-calendar .-cell a{
  height:42px;
  padding:.35rem .2rem;
  color:inherit;
  font-size:1rem;
}
.my89-test-calendar .-cell.-past a{color:#9aa0a6!important;font-weight:400!important}
.my89-test-calendar .-cell.-future a{color:#339900!important;font-weight:700!important}
.my89-test-calendar .-cell.-today{background:#ffff99!important}
.my89-test-calendar .-cell.-today a{color:#339900!important;font-weight:700!important}
.my89-test-calendar .-cell a:hover,
.my89-test-calendar .-cell a:focus-visible{background:#f3f3f3}
.my89-test-calendar .-cell.-today a:hover,
.my89-test-calendar .-cell.-today a:focus-visible{background:#ffff99}

@media(max-width:650px){
  .my89-test-discovery{margin:.9rem 0 1.1rem}
  .my89-test-discovery h2{font-size:1.22rem;margin-bottom:.75rem}
  .my89-test-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
  .my89-test-discovery-grid a,
  .my89-test-discovery-grid button{
    min-height:50px;
    padding:.55rem .65rem;
    border-radius:.6rem;
    font-size:1rem;
    font-weight:600;
  }
  .my89-test-discovery-grid .my89-test-discovery-item{justify-content:flex-start;text-align:left}
  .my89-test-discovery-grid .my89-test-discovery-item>.my89-icon{width:24px;height:24px;flex-basis:24px}
  .my89-test-discovery-panel{padding-top:.7rem}
  .my89-test-panel-head h3{font-size:1.25rem}
  .my89-test-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
  .my89-test-category-grid a{
    min-height:54px;
    padding:.6rem .55rem;
    font-size:.98rem;
    font-weight:500;
    text-align:center;
    justify-content:center;
  }
  .my89-test-city-radius{width:100%;min-width:0;margin-top:.5rem}
  .my89-test-city-submit{width:100%;margin-top:.5rem}
  .my89-test-calendar-layout,
  .my89-test-calendar-actions,
  .my89-test-calendar{width:100%!important;max-width:360px!important}
  .my89-test-calendar-links{font-size:.9rem;gap:.25rem}
  .my89-test-calendar .-dow{font-size:.95rem}
  .my89-test-calendar .-empty,
  .my89-test-calendar .-cell,
  .my89-test-calendar .-cell a{height:42px}
}

/* ========================================================================== 
   Prototype 0.2.9 - mobile cartes My89 + desktop Blocs/Liste
   - liste verticale
   - vignette a droite, blanche, légèrement arrondie et décollée du bord
   - date et heure en vert My89 #339900
   - chargement initial par deux journées complètes puis jour par jour
   ========================================================================== */
.my89-home-topagenda-intro{margin:.25rem 0 1rem;color:#1f2421}
.my89-home-topagenda-intro .count{font-size:1rem;line-height:1.45}
.my89-home-topagenda-intro strong{color:#339900;font-weight:800}
.my89-home-topagenda-intro a{color:#111;text-decoration:underline;text-underline-offset:2px}

.my89-home-event-list{display:flex;flex-direction:column;gap:.8rem}
.my89-home-event-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(120px,34%);
  border:1px solid #d8ddd8;
  border-radius:14px;
  background:#fff;
  min-height:178px;
  overflow:hidden;
}
.my89-home-event-card.-no-image{grid-template-columns:minmax(0,1fr)}
.my89-home-event-copy{min-width:0;padding:1rem 1rem 1rem 1.05rem;display:flex;flex-direction:column;align-items:flex-start}
.my89-home-event-card h3{margin:0 0 .55rem;font-size:1.22rem;line-height:1.15;font-weight:800;color:#222}
.my89-home-event-card h3 a{color:inherit;text-decoration:none}
.my89-home-event-date{margin:0 0 .35rem;color:#339900;font-size:1rem;line-height:1.35;font-weight:800}
.my89-home-event-place{margin:0 0 .75rem;color:#5b625e;font-size:.97rem;line-height:1.38}
.my89-home-event-detail{margin-top:auto;color:#222;font-size:.96rem;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.my89-home-event-visual{
  display:block;
  min-width:0;
  align-self:start;
  margin:.55rem .55rem .55rem 0;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  text-decoration:none;
}
.my89-home-event-visual img{
  display:block;
  width:100%;
  height:auto;
  max-height:260px;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
}
.my89-home-topagenda-more{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;margin:1rem 0 1.5rem}
.my89-home-topagenda-more .btn{border-radius:.6rem;padding:.7rem 1rem;background:#339900;border:1px solid #339900;color:#fff;font-weight:700}
.my89-home-topagenda-more .btn:hover{background:#267700;border-color:#267700}
.my89-home-topagenda-more .status{color:#69716c;font-size:.86rem}
.my89-home-topagenda-more .status.error{color:#a62b24}

@media(max-width:650px){
  .my89-home-topagenda-intro{margin:.15rem 0 .8rem}
  .my89-home-topagenda-intro .count{font-size:.98rem}
  .my89-home-event-list{gap:.7rem}
  .my89-home-event-card{grid-template-columns:minmax(0,1fr) 34%;min-height:170px;border-radius:13px;background:#fff}
  .my89-home-event-copy{padding:.85rem .72rem .85rem .9rem}
  .my89-home-event-card h3{font-size:1.06rem;line-height:1.14;margin-bottom:.45rem}
  .my89-home-event-date{font-size:.91rem;line-height:1.3;margin-bottom:.3rem;color:#339900}
  .my89-home-event-place{font-size:.88rem;line-height:1.34;margin-bottom:.6rem}
  .my89-home-event-detail{font-size:.88rem}
  .my89-home-event-visual{margin:.48rem .48rem .48rem 0;border-radius:9px}
  .my89-home-event-visual img{max-height:235px;border-radius:9px}
  .my89-home-topagenda-more{align-items:stretch;margin-top:.9rem}
  .my89-home-topagenda-more .btn{width:100%;min-height:48px;font-size:1rem}
  .my89-home-topagenda-more .status{text-align:center;font-size:.8rem}
}

@media(max-width:390px){
  .my89-home-event-card{grid-template-columns:minmax(0,1fr) 33%;min-height:162px}
  .my89-home-event-copy{padding:.78rem .6rem .78rem .78rem}
  .my89-home-event-card h3{font-size:1rem}
  .my89-home-event-date{font-size:.86rem}
  .my89-home-event-place{font-size:.84rem}
  .my89-home-event-visual{margin:.42rem .42rem .42rem 0;border-radius:8px}
  .my89-home-event-visual img{border-radius:8px}
}


/* ========================================================================== 
   Prototype 0.2.9 - comportement responsive des Top Agenda
   Mobile  : cartes My89 validées, sans sélecteur de mode.
   Desktop : Blocs par défaut + Liste au choix, comme la page publique actuelle.
   ========================================================================== */
.my89-home-topagenda-bar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin:.25rem 0 1rem;
}
.my89-home-topagenda-bar .my89-home-topagenda-intro{margin:0;min-width:0}
.my89-home-desktop-modes{
  display:flex;
  align-items:center;
  gap:.4rem;
  flex:none;
  white-space:nowrap;
  font-size:.92rem;
}
.my89-home-desktop-modes .btn{
  padding:.42rem .68rem;
  border-radius:.55rem;
}
.my89-topagenda-mobile{display:none}
.my89-topagenda-desktop{display:block}
.my89-topagenda-desktop .poster-grid{margin-top:.25rem}
.my89-topagenda-desktop #view-list .card:last-child{margin-bottom:0}

@media(max-width:767px){
  .my89-home-topagenda-bar{display:block;margin-bottom:.8rem}
  .my89-home-desktop-modes{display:none!important}
  .my89-topagenda-desktop{display:none!important}
  .my89-topagenda-mobile{display:block}
}

@media(min-width:768px){
  .my89-topagenda-mobile{display:none!important}
  .my89-topagenda-desktop{display:block}
  .my89-home-topagenda-more{align-items:center}
}


/* ========================================================================== 
   Prototype 0.2.10 - cartes de resultats unifiees avec l'accueil mobile
   ========================================================================== */
.my89-home-event-access,
.my89-test-access{
  margin:0 0 .62rem;
  color:#777f7a;
  font-size:.82rem;
  line-height:1.35;
  font-weight:500;
}
.my89-home-event-place{margin-bottom:.28rem}

/* Resultats : meme grammaire visuelle que les cartes Top Agenda de l'accueil. */
.my89-test-results .my89-test-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(120px,34%);
  align-items:start;
  min-height:178px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d8ddd8;
  border-radius:14px;
}
.my89-test-results .my89-test-card.-no-image{grid-template-columns:minmax(0,1fr)}
.my89-test-results .my89-test-card-body{
  min-width:0;
  padding:1rem 1rem 1rem 1.05rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.my89-test-results .my89-test-card h3{
  margin:0 0 .55rem;
  color:#222;
  font-size:1.22rem;
  line-height:1.15;
  font-weight:800;
  overflow-wrap:anywhere;
}
.my89-test-results .my89-test-card h3 a{color:inherit;text-decoration:none}
.my89-test-results .my89-test-card h3 a:hover{text-decoration:underline}
.my89-test-results .my89-test-date{
  margin:0 0 .35rem;
  color:#339900;
  font-size:1rem;
  line-height:1.35;
  font-weight:800;
}
.my89-test-results .my89-test-place{
  margin:0 0 .28rem;
  color:#5b625e;
  font-size:.97rem;
  line-height:1.38;
}
.my89-test-results .my89-test-access{
  max-width:100%;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.my89-test-results .my89-test-detail{
  margin-top:auto;
  padding:0;
  min-height:0;
  color:#222;
  font-size:.96rem;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px;
}
.my89-test-results .my89-test-visual{
  display:block;
  min-width:0;
  min-height:0;
  align-self:start;
  margin:.55rem .55rem .55rem 0;
  overflow:hidden;
  border-radius:10px;
  background:#fff;
  text-decoration:none;
}
.my89-test-results .my89-test-visual img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:260px;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
}
.my89-test-results .my89-test-card-kind,
.my89-test-results .my89-test-badge,
.my89-test-results .my89-test-summary{display:none!important}
.my89-test-related>p{
  margin:.15rem 0 .8rem;
  padding:0;
  border:0;
  background:transparent;
  color:#68716c;
}

@media(max-width:650px){
  .my89-test-result-head{margin:20px 0 12px}
  .my89-test-results .my89-test-card-grid{grid-template-columns:minmax(0,1fr);gap:.7rem}
  .my89-test-results .my89-test-card{grid-template-columns:minmax(0,1fr) 34%;min-height:170px;border-radius:13px}
  .my89-test-results .my89-test-card.-no-image{grid-template-columns:minmax(0,1fr)}
  .my89-test-results .my89-test-card-body{padding:.85rem .72rem .85rem .9rem}
  .my89-test-results .my89-test-card h3{font-size:1.06rem;line-height:1.14;margin-bottom:.45rem;display:block;overflow:visible}
  .my89-test-results .my89-test-date{font-size:.91rem;line-height:1.3;margin-bottom:.3rem;color:#339900}
  .my89-test-results .my89-test-place{font-size:.88rem;line-height:1.34;margin-bottom:.24rem}
  .my89-test-results .my89-test-access{font-size:.78rem;line-height:1.3;margin-bottom:.52rem}
  .my89-test-results .my89-test-detail{font-size:.88rem}
  .my89-test-results .my89-test-visual{margin:.48rem .48rem .48rem 0;border-radius:9px}
  .my89-test-results .my89-test-visual img{max-height:235px;border-radius:9px}
  .my89-test-related{margin-top:18px;padding-top:14px}
  .my89-test-related>p{font-size:.78rem;line-height:1.4}
}

@media(max-width:390px){
  .my89-test-results .my89-test-card{grid-template-columns:minmax(0,1fr) 33%;min-height:162px}
  .my89-test-results .my89-test-card.-no-image{grid-template-columns:minmax(0,1fr)}
  .my89-test-results .my89-test-card-body{padding:.78rem .6rem .78rem .78rem}
  .my89-test-results .my89-test-card h3{font-size:1rem}
  .my89-test-results .my89-test-date{font-size:.86rem}
  .my89-test-results .my89-test-place{font-size:.84rem}
  .my89-test-results .my89-test-visual{margin:.42rem .42rem .42rem 0;border-radius:8px}
  .my89-test-results .my89-test-visual img{border-radius:8px}
}

/* 0.2.11 : titre de recherche aligné sur le titre du bloc de raccourcis. */
.my89-test-home .my89-test-search--home h1{
  color:#000;
  font-size:1.45rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
  margin:0 0 .8rem;
  white-space:normal;
}
.my89-test-weekend-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem;
}
.my89-test-weekend-grid a{
  display:flex;
  flex-direction:column;
  gap:.15rem;
  padding:.8rem .9rem;
  border:1px solid #ccc;
  border-radius:.6rem;
  background:#eee;
  color:#000;
  text-decoration:none;
}
.my89-test-weekend-grid a:hover{background:#e2e2e2;border-color:#9c9c9c}
.my89-test-weekend-grid strong{font-size:1rem}
.my89-test-weekend-grid span{font-size:.9rem;color:#5f6368}
@media(max-width:650px){
  .my89-test-home .my89-test-search--home h1{font-size:1.22rem;margin-bottom:.75rem}
  .my89-test-weekend-grid{grid-template-columns:1fr}
}


/* ==========================================================================
   Prototype 0.3.0 - page de resultats unique + Top Agenda en tete
   ========================================================================== */
.my89-test-top-results{
  margin:1rem 0 2rem;
  padding:1rem;
  border:1px solid #dfe7db;
  border-radius:15px;
  background:#fbfdf9;
}
.my89-test-top-results .my89-test-section-head{margin:0 0 .35rem}
.my89-test-top-results-head>div{min-width:0}
.my89-test-sponsored-label{
  margin:0 0 .2rem;
  color:#68716c;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.my89-test-top-results-intro{
  margin:0 0 .9rem;
  color:#5e6862;
  font-size:.88rem;
  line-height:1.45;
}
.my89-test-top-results .my89-test-card{
  border-color:#cfdcc9;
  box-shadow:0 1px 0 rgba(51,153,0,.05);
}
@media(max-width:650px){
  .my89-test-top-results{margin:.75rem 0 1.4rem;padding:.75rem;border-radius:13px}
  .my89-test-top-results-intro{font-size:.78rem;margin-bottom:.7rem}
}

/* ========================================================================== 
   Prototype 0.4.0 - cartes Agenda harmonisees avec jour-test.php
   Desktop : vignette a gauche, largeur fixe 160px.
   Mobile  : texte a gauche, vignette a droite.
   Badges  : A prevoir avant Top Agenda ; Top Agenda seulement si Agenda.TopAgenda=1.
   ========================================================================== */
.my89-test-card-badges,
.my89-home-event-badges{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.35rem;
  margin:0 0 .42rem;
}
.my89-test-card-badge,
.my89-home-event-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:.18rem .48rem;
  border-radius:999px;
  font-size:.72rem;
  line-height:1;
  font-weight:700;
}
.my89-test-card-badge.-aprevoir,
.my89-home-event-badge.-aprevoir{
  border:1px solid #ddc75d;
  background:#fff7c9;
  color:#665500;
}
.my89-test-card-badge.-topagenda,
.my89-home-event-badge.-topagenda{
  border:1px solid #b9d8aa;
  background:#eff8e9;
  color:#2f770e;
}
.my89-test-pretitre,
.my89-home-event-pretitre{
  margin:0 0 .3rem;
  color:#339900;
  font-size:.96rem;
  line-height:1.25;
  font-weight:700;
}

.my89-test-results .my89-test-card,
.my89-home-event-card{
  display:flex;
  align-items:flex-start;
  gap:1rem;
  min-height:0;
  padding:.8rem;
  overflow:hidden;
  background:#fff;
  border:1px solid #d8ddd8;
  border-radius:14px;
}
.my89-test-results .my89-test-card.-aprevoir,
.my89-home-event-card.a-prevoir{background:#FAFAD2}

.my89-test-results .my89-test-card-body,
.my89-home-event-copy{
  order:2;
  flex:1 1 auto;
  min-width:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.my89-test-results .my89-test-visual,
.my89-home-event-visual{
  order:1;
  flex:0 0 160px;
  width:160px;
  min-width:160px;
  min-height:0;
  align-self:flex-start;
  margin:0;
  overflow:hidden;
  border-radius:10px;
  background:#fff;
  text-decoration:none;
}
.my89-test-results .my89-test-visual img,
.my89-home-event-visual img{
  display:block;
  width:160px;
  max-width:160px;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
}
.my89-test-results .my89-test-card.-no-image,
.my89-home-event-card.-no-image{display:block}
.my89-test-results .my89-test-card.-no-image .my89-test-card-body,
.my89-home-event-card.-no-image .my89-home-event-copy{width:100%}

.my89-test-results .my89-test-card h3,
.my89-home-event-card h3{
  margin:0 0 .5rem;
  color:#222;
  font-size:1.22rem;
  line-height:1.2;
  font-weight:700;
  overflow-wrap:anywhere;
}
.my89-test-results .my89-test-date,
.my89-home-event-date{
  margin:0 0 .32rem;
  color:#339900;
  font-size:1rem;
  line-height:1.35;
  font-weight:700;
}
.my89-test-results .my89-test-place,
.my89-home-event-place{
  margin:0 0 .3rem;
  color:#5b625e;
  font-size:.97rem;
  line-height:1.38;
}
.my89-test-results .my89-test-access,
.my89-home-event-access{
  margin:0 0 .62rem;
  color:#777f7a;
  font-size:.86rem;
  line-height:1.35;
  font-weight:400;
}
.my89-test-results .my89-test-detail,
.my89-home-event-detail{
  margin-top:auto;
  color:#222;
  font-size:.96rem;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:4px;
}

/* La liste desktop de l'accueil test utilise exactement la meme carte. */
.my89-topagenda-desktop #view-list .my89-home-event-list,
.my89-topagenda-desktop #view-list #my89-topagenda-desktop-list{
  display:flex;
  flex-direction:column;
  gap:.8rem;
}

@media(max-width:650px){
  .my89-test-results .my89-test-card,
  .my89-home-event-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) 34%;
    gap:0;
    min-height:170px;
    padding:0;
    border-radius:13px;
  }
  .my89-test-results .my89-test-card.-no-image,
  .my89-home-event-card.-no-image{display:block}
  .my89-test-results .my89-test-card-body,
  .my89-home-event-copy{
    order:0;
    grid-column:1;
    padding:.85rem .72rem .85rem .9rem;
  }
  .my89-test-results .my89-test-card.-no-image .my89-test-card-body,
  .my89-home-event-card.-no-image .my89-home-event-copy{
    grid-column:1/-1;
  }
  .my89-test-card-badges,
  .my89-home-event-badges{gap:.28rem;margin-bottom:.36rem}
  .my89-test-card-badge,
  .my89-home-event-badge{font-size:.68rem}
  .my89-test-pretitre,
  .my89-home-event-pretitre{font-size:.9rem;margin-bottom:.26rem}
  .my89-test-results .my89-test-card h3,
  .my89-home-event-card h3{font-size:1.06rem;line-height:1.2;margin-bottom:.45rem;font-weight:700}
  .my89-test-results .my89-test-date,
  .my89-home-event-date{font-size:.91rem;line-height:1.3;margin-bottom:.3rem}
  .my89-test-results .my89-test-place,
  .my89-home-event-place{font-size:.88rem;line-height:1.34;margin-bottom:.24rem}
  .my89-test-results .my89-test-access,
  .my89-home-event-access{font-size:.78rem;line-height:1.3;margin-bottom:.52rem}
  .my89-test-results .my89-test-detail,
  .my89-home-event-detail{font-size:.88rem}
  .my89-test-results .my89-test-visual,
  .my89-home-event-visual{
    order:0;
    grid-column:2;
    width:auto;
    min-width:0;
    margin:.48rem .48rem .48rem 0;
    border-radius:9px;
  }
  .my89-test-results .my89-test-visual img,
  .my89-home-event-visual img{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:235px;
    border-radius:9px;
  }
}
@media(max-width:390px){
  .my89-test-results .my89-test-card,
  .my89-home-event-card{grid-template-columns:minmax(0,1fr) 33%;min-height:162px}
  .my89-test-results .my89-test-card-body,
  .my89-home-event-copy{padding:.78rem .6rem .78rem .78rem}
  .my89-test-results .my89-test-card h3,
  .my89-home-event-card h3{font-size:1rem}
  .my89-test-results .my89-test-date,
  .my89-home-event-date{font-size:.86rem}
  .my89-test-results .my89-test-place,
  .my89-home-event-place{font-size:.84rem}
  .my89-test-results .my89-test-visual,
  .my89-home-event-visual{margin:.42rem .42rem .42rem 0;border-radius:8px}
  .my89-test-results .my89-test-visual img,
  .my89-home-event-visual img{border-radius:8px}
}

/* Une liste de resultats Agenda reste verticale, comme jour-test.php. */
.my89-test-results .my89-test-card-grid{
  grid-template-columns:minmax(0,1fr);
  gap:.8rem;
}
