@import url("./participant-priorities.css");
#screen-mine{max-width:1280px}#screen-mine>h1{font-size:clamp(34px,4vw,54px);margin:6px 0 24px}.participant-space{font-size:16px}.space-welcome{background:#eef8d5;border:1px solid #d4e7aa;border-radius:26px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 34px}.space-kicker{font-size:11px!important;letter-spacing:1.5px;font-weight:700;text-transform:uppercase;margin:0 0 9px!important;color:#486145}.space-welcome h2{font-size:30px;margin:0 0 9px;letter-spacing:-.7px}.space-welcome p{max-width:600px;margin:0;color:#405d4c}.space-welcome .button{flex-shrink:0}.space-test{padding:10px 16px;border-radius:10px;background:#eef8ff;color:#305770;font-size:13px;margin:14px 0}.space-nav{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #d6e3da;margin:26px 0;scroll-margin-top:95px}.space-nav button{padding:13px 17px;min-height:48px;font-size:14px;font-weight:600;border-bottom:3px solid transparent;color:#486251}.space-nav button[aria-pressed=true]{color:#174c35;border-color:#267c45}.space-count{background:#ffe2d9;padding:2px 7px;border-radius:50%;font-size:11px;margin-left:4px}#space-panel{outline:none}.space-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.space-metric{position:relative;border-radius:19px;padding:22px 25px;display:grid;grid-template-columns:auto 1fr;column-gap:18px;text-align:left;border:1px solid #dce6df}.space-metric>span{grid-row:span 2;font-size:42px;line-height:1.2;font-weight:600;letter-spacing:-1.5px}.space-metric b{font-size:16px;padding-top:4px}.space-metric small{font-size:12px;color:#455d4c}.space-metric i{position:absolute;right:15px;top:12px;font-style:normal}.space-metric.coral{background:#fff0e9}.space-metric.sun{background:#fff9dc}.space-metric.green{background:#edf7ef}.space-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.space-section-title{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:24px 0 15px}.space-section-title h2{font-size:24px;margin:0}.space-section-title p{font-size:14px;margin:8px 0 0;color:#4f685a}.space-section-title h3{font-size:22px}.space-record{padding:23px 25px;border:1px solid #dbe8df;border-radius:20px;margin:14px 0;background:white;box-shadow:0 3px 16px #174c3505;overflow-wrap:anywhere}.space-record header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.space-record h3{font-size:21px;line-height:1.25;margin:0}.space-record .space-kicker{font-size:10px!important;letter-spacing:1.2px}.space-badge{display:inline-flex;border-radius:30px;white-space:nowrap;padding:6px 10px;font-size:11px;font-weight:700}.space-badge.coral{background:#ffe1d6;color:#7c3020}.space-badge.sun{background:#fff1b7;color:#675113}.space-badge.green{background:#e1f2ce;color:#285c23}.space-badge.violet{background:#eee6ff;color:#4e347e}.space-badge.neutral{background:#edf0ed;color:#4e6054}.space-record-meta{font-size:14px;margin:13px 0 8px;color:#435e4d}.space-status-help{font-size:13px;color:#486251;margin:8px 0}.space-record-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:18px}.space-record-actions .button{font-size:13px;padding:11px 15px;min-height:44px}.space-record .notice{font-size:14px;padding:17px;margin:17px 0}.space-record .notice h4{margin:0 0 8px}.space-record .notice p{font-size:14px}.space-details{margin-top:20px;border-top:1px solid #e4ebe5;padding-top:6px}.space-details summary{font-size:13px;font-weight:600;cursor:pointer;min-height:44px;display:list-item;padding:13px 0}.space-details p{font-size:13px;line-height:1.6}.space-withdraw{color:#93432f!important}.space-privacy-summary{padding:8px 16px;background:#f6f8f4;border-radius:12px}.space-news{border-left:3px solid #bddd92;padding:0 0 0 16px;margin:20px 0}.preserve-lines{white-space:pre-wrap}.space-next{margin-top:24px;background:#f2edff;border:1px solid #dfd4f5;border-radius:22px;padding:25px}.space-next h2{font-size:26px;line-height:1.18;margin:13px 0}.space-next p{font-size:14px;color:#4c4c62}.space-next .button{font-size:13px;margin-top:8px}.space-help-card{padding:24px 10px}.space-help-card>span{display:grid;place-items:center;width:30px;height:30px;background:#e5f0e6;border-radius:50%;font-weight:700}.space-help-card h3{font-size:19px;margin:13px 0 8px}.space-help-card p{font-size:14px;color:#4f685a}.space-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dbe8df;padding-top:20px;margin-top:35px;font-size:12px;color:#4f685a}.space-filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.space-filters button{border:1px solid #d9e6dc;border-radius:30px;padding:10px 16px;min-height:44px;font-size:13px}.space-filters button[aria-pressed=true]{background:#174c35;color:white;border-color:#174c35}.space-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}.space-record-grid .space-record{margin:0}.space-extra-actions,.space-help-actions{display:flex;flex-wrap:wrap;gap:16px;margin:25px 0}.space-empty{background:#f7f9f3;border:1px dashed #bacfb6;border-radius:22px;text-align:center;padding:36px 24px;grid-column:1/-1}.space-empty>span{font-size:32px;color:#638946}.space-empty h3{font-size:22px;margin:12px 0}.space-empty p{font-size:15px;color:#4f685a;max-width:460px;margin:12px auto 20px}.space-setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.space-setting{padding:28px;border:1px solid #dce7df;border-radius:20px;background:#fff}.space-setting:nth-child(2){background:#f4f9e7}.space-setting:nth-child(3){background:#eff7fc}.space-setting h3{font-size:23px;margin:13px 0}.space-setting p{font-size:14px;line-height:1.6}.space-email{font-weight:600;overflow-wrap:anywhere}.space-setting .button{font-size:13px;margin:10px 0;white-space:normal}.space-setting .text-button{display:block;text-align:left}.space-faq{background:#f8faf4;padding:4px 18px;border:1px solid #e3e9db;border-radius:12px}.space-mail{padding:16px 0;border-bottom:1px solid #e4ebe5}.space-mail b{font-size:14px}.space-mail p{font-size:13px;color:#4f685a;margin:7px 0}.participant-space .text-button,.support-panel .text-button{min-height:44px;padding-top:10px;padding-bottom:10px;font-size:13px}.participant-space button:focus-visible,.participant-space a:focus-visible,.participant-space summary:focus-visible,.support-panel :focus-visible{outline:3px solid #5d3bae;outline-offset:4px}.space-loading{padding:35px;border:1px solid #dce7dc;border-radius:22px;background:#f5f9ee}.support-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.support-notice{background:#f0f6e3;padding:16px;border-radius:14px;font-size:14px}.support-form label{margin:16px 0;display:block;font-size:14px}.support-form input,.support-form select,.support-form textarea{margin-top:7px;min-height:46px}.support-form .check{display:flex;gap:12px;align-items:flex-start}.support-form .check input{margin:2px 0;min-height:20px;width:20px}.support-form .form-help{font-size:13px}.support-success{padding:20px;background:#edf7dc;border:1px solid #c8de9e;border-radius:17px}.support-success strong{display:block;font-size:22px;letter-spacing:1px;margin:13px 0}.support-row{border:1px solid #dbe7dc;border-radius:17px;padding:20px;margin:15px 0;overflow-wrap:anywhere}.support-row header{display:flex;justify-content:space-between;gap:14px;align-items:center}.support-row h3{font-size:18px;margin:0}.support-row p{font-size:14px;white-space:pre-wrap}.support-reply{background:#eff6e4;padding:15px;border-radius:12px}.support-row label{display:block;font-size:14px;margin-top:16px}.support-row textarea{margin-top:6px}.support-panel .space-section-title{flex-wrap:wrap}.support-panel .space-section-title select{max-width:280px}.support-panel .pagination{justify-content:flex-start;gap:12px}.support-form .form-feedback{white-space:pre-wrap}.space-login{max-width:780px;margin:20px auto;background:#f0f8dc;border-radius:25px;padding:35px}.space-login h2{font-size:30px}.space-login p{font-size:16px}.space-login .actions{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:1000px){.space-columns{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.space-welcome{padding:25px;gap:20px}.space-welcome h2{font-size:26px}.space-metric{padding:19px}.space-metric>span{font-size:34px}.space-metric small{font-size:11px}}
@media(max-width:760px){#screen-mine{padding-top:22px}#screen-mine>h1{margin-bottom:20px}.space-welcome{display:block;padding:24px;border-radius:22px}.space-welcome h2{font-size:27px;max-width:260px}.space-welcome p{font-size:14px}.space-welcome .button{margin-top:20px;min-height:48px;font-size:14px}.space-nav{margin:20px 0;gap:0;scroll-margin-top:80px}.space-nav button{font-size:12px;padding:11px 10px;min-height:46px}.space-metrics{gap:7px;margin-bottom:20px}.space-metric{display:flex;flex-direction:column;padding:15px 11px;border-radius:15px}.space-metric>span{font-size:31px}.space-metric b{font-size:13px}.space-metric small{font-size:12px;line-height:1.4;margin-top:4px}.space-metric i{right:9px;top:9px;font-size:12px}.space-columns{display:flex;flex-direction:column;gap:0}.space-columns>aside{order:-1}.space-next{margin:0 0 22px;padding:21px}.space-next h2{font-size:23px}.space-next .space-kicker{margin:0!important}.space-next p{margin:10px 0}.space-help-card{display:none}.space-section-title{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-top:18px}.space-section-title h2{font-size:23px}.space-record{padding:20px 18px;border-radius:18px}.space-record header{flex-direction:column;gap:10px}.space-record h3{font-size:21px}.space-record-meta{font-size:13px}.space-record-actions .button{flex:1;white-space:normal;text-align:center;min-width:125px}.space-record-grid,.space-setting-grid{grid-template-columns:1fr}.space-setting{padding:23px}.space-bottom{display:block;font-size:12px}.space-bottom .text-button{margin-top:7px}.space-login{padding:24px}.space-login h2{font-size:25px}.support-row header{align-items:flex-start;flex-direction:column}.support-row{padding:18px}.support-form .form-actions{flex-wrap:wrap}.support-form .button{min-height:48px}.space-empty{padding:25px 18px}}
@media(prefers-reduced-motion:reduce){.participant-space *{scroll-behavior:auto!important;transition:none!important}}

@media(min-width:761px){#screen-mine{padding-top:32px}#screen-mine>h1{font-size:44px;margin-bottom:22px}.space-welcome{padding:25px 30px}.space-record-grid:has(>.space-record:only-child){grid-template-columns:minmax(0,850px)}}

/* Espaces partenaires et presse : mêmes repères que Mon espace. */
.partner-dashboard{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.75fr);gap:26px;align-items:start;margin:28px 0}
.partner-main{min-width:0}.partner-state,.partner-help,.press-card{border:1px solid #dae7db;border-radius:22px;padding:25px;background:#fff}.partner-state{background:#f0f8df;margin-bottom:25px}.partner-state h2,.partner-help h3,.press-card h2{margin:.4em 0}.partner-preview{display:grid;gap:16px}.partner-preview .sponsor-card{max-width:580px}.partner-help{background:#f1edfd}.partner-help .text-button{display:block;text-align:left;margin-top:16px}.press-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.press-card{min-width:0}.press-card p{line-height:1.55}.press-photo{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:14px}.press-logo{display:block;width:min(100%,260px);height:auto;margin:28px 0}.press-card a{display:inline-block;padding:8px 0}
@media(max-width:760px){.partner-dashboard,.press-grid{grid-template-columns:1fr}.partner-state,.partner-help,.press-card{padding:20px}.partner-help .text-button{min-height:44px}.press-card a{min-height:44px}}

/* Une navigation claire entre les accès de la même personne. */
.space-switcher{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:8px 0 26px;padding:14px 18px;background:#f2f8ee;border:1px solid #dce9d9;border-radius:17px}
.space-switcher>span{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#45604d}
.space-switcher>div{display:flex;gap:6px;flex-wrap:wrap}.space-switcher a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:999px;color:#194c36;font-size:14px;font-weight:650;text-decoration:none}
.space-switcher a:hover,.space-switcher a:focus-visible{background:#deeddd;text-decoration:underline}.space-switcher a[aria-current=page]{background:#194c36;color:white}
@media(max-width:760px){.space-switcher{align-items:flex-start;gap:6px;padding:12px}.space-switcher>span{padding:8px 10px 0}.space-switcher>div{width:100%}.space-switcher a{padding:8px 12px}}

.space-welcome-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.space-welcome-actions .button{min-height:48px;white-space:normal}
@media(max-width:760px){.space-welcome-actions{width:100%;justify-content:flex-start}.space-welcome-actions .button{max-width:100%}}

/* Proposition mobile : les dossiers et la prochaine action avant les explications. */
.participant-space .space-welcome{padding:24px 28px;gap:22px}
.participant-space .space-welcome h2{font-size:27px;line-height:1.18;margin-bottom:7px}
.participant-space .space-welcome p:not(.space-kicker){font-size:15px}
.space-useful-links{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 18px;padding:4px 5px}
.space-useful-links .text-button{font-size:13px;text-align:left}
.participant-space .space-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;border:1px solid #dce8dc;border-radius:16px;background:#f5f8f1;padding:5px;margin:17px 0 21px}
.participant-space .space-nav button{border:0;border-radius:11px;padding:12px 8px;min-width:0;line-height:1.3}
.participant-space .space-nav button[aria-pressed=true]{background:#174c35;color:#fff;box-shadow:0 2px 5px #153e3512}
.participant-space .space-nav button[aria-pressed=true] .space-count{color:#7c3020}
#space-panel{scroll-margin-top:110px}
.space-next.needs-attention{background:#fff0e8;border-color:#f0c2b1}
.space-next.needs-attention .space-kicker{color:#7c3020}
.participant-space .space-next h2{font-size:23px}
.participant-space .space-next .button{white-space:normal;text-align:center;min-height:46px}
.participant-space .space-record header>div{min-width:0}
.participant-space .space-badge{white-space:normal;line-height:1.4;flex-shrink:0}
@media(max-width:760px){
 .participant-space .space-welcome{padding:20px;border-radius:20px}
 .participant-space .space-welcome h2{font-size:24px;max-width:100%;letter-spacing:-.6px}
 .participant-space .space-welcome p:not(.space-kicker){font-size:14px;line-height:1.5}
 .participant-space .space-welcome .space-kicker{margin-bottom:6px!important}
 .participant-space .space-welcome-actions{display:block}
 .participant-space .space-welcome .button{width:100%;margin:16px 0 0;min-height:48px;font-size:14px;padding:12px 16px}
 .space-useful-links{gap:0 12px;padding:5px 2px}
 .space-useful-links .text-button{font-size:12px;line-height:1.4;padding:9px 0}
 .participant-space .space-nav{gap:2px;padding:4px;margin:12px 0 19px;border-radius:14px}
 .participant-space .space-nav button{font-size:12px;min-height:48px;padding:9px 3px;border-radius:10px;white-space:normal}
 .participant-space .space-count{margin-left:2px;padding:2px 5px}
 #space-panel{scroll-margin-top:85px}
 .participant-space .space-metrics{margin-bottom:16px}
 .participant-space .space-metric{padding:13px 10px}
 .participant-space .space-metric>span{font-size:28px;line-height:1.15}
 .participant-space .space-metric b{font-size:12px;padding-top:5px}
 .participant-space .space-metric small{font-size:12px}
 .participant-space .space-next{padding:20px;margin-bottom:20px}
 .participant-space .space-next h2{font-size:22px;margin:9px 0}
 .participant-space .space-next p{line-height:1.5}
 .participant-space .space-next .button{width:100%;margin-top:5px}
 .participant-space .space-record{padding:18px 17px;margin:12px 0}
 .participant-space .space-record header{gap:8px}
 .participant-space .space-record h3{font-size:20px;line-height:1.3}
 .participant-space .space-status-help{line-height:1.5}
 .participant-space .space-record-actions{gap:8px;margin-top:15px}
 .participant-space .space-record-actions .button{min-height:46px;min-width:118px;font-size:13px}
 .participant-space .space-extra-actions{gap:0 16px;margin:19px 0}
 .participant-space .space-details summary{line-height:1.5}
}
@media(max-width:380px){
 .participant-space .space-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
 .participant-space .space-nav button{grid-column:span 2}
 .participant-space .space-nav button:nth-last-child(-n+2){grid-column:span 3}
}

/* Premier écran mobile : pas de second titre, priorité à l’action attendue. */
@media(max-width:760px){
 .participant-space .space-welcome{padding:0;border:0;background:transparent;border-radius:0}
 .participant-space .space-welcome>div:first-child{display:none}
 .participant-space .space-welcome .button{margin:0;min-height:46px}
 .participant-space .space-useful-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:2px 0}
 .participant-space .space-useful-links .text-button{min-height:42px;padding:8px 0;font-size:12px;line-height:1.4}
 .participant-space .space-useful-links a{text-align:right}
 .participant-space .space-test{font-size:12px;line-height:1.45;padding:9px 11px;margin:5px 0 10px}
 .participant-space .space-nav{margin:10px 0 15px}
 #space-panel:has(>.space-columns){display:flex;flex-direction:column}
 #space-panel>.space-columns,#space-panel>.space-columns>aside{display:contents}
 #space-panel>.space-columns>aside>.space-next.needs-attention{order:-1;margin:0 0 14px}
 #space-panel>.space-columns>aside>.space-next:not(.needs-attention){order:0}
 #space-panel>.space-columns>section{order:1}
 .participant-space .space-next{padding:16px;margin-bottom:16px}
 .participant-space .space-next h2{font-size:20px;margin:7px 0}
 .participant-space .space-next p{font-size:13px;margin:7px 0}
}

/* Aperçu : d’abord l’action utile et le rendez-vous, détails accessibles à la demande. */
.participant-space .space-new-plant{display:inline-block;text-align:left;margin:0 0 12px}
.participant-space .space-overview-details{margin:14px 0 24px;border:1px solid #d6e6d6;border-radius:18px;background:#fff;overflow:hidden}
.participant-space .space-overview-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:60px;padding:15px 20px;cursor:pointer;color:#174c35;font-weight:700;list-style:none}
.participant-space .space-overview-details>summary::-webkit-details-marker{display:none}
.participant-space .space-overview-details>summary::after{content:'+';font-size:24px;line-height:1;flex:none}
.participant-space .space-overview-details[open]>summary::after{content:'−'}
.participant-space .space-overview-details>summary small{font-size:13px;font-weight:500;color:#4f685a;margin-left:auto;text-align:right}
.participant-space .space-overview-details>summary:focus-visible{outline:3px solid #5d3bae;outline-offset:-4px}
.participant-space .space-overview-details>section,.participant-space .space-overview-details>.space-metrics,.participant-space .space-overview-details>.space-columns,.participant-space .space-overview-details>.space-drafts{margin-left:20px;margin-right:20px}
.participant-space .space-overview-details>.space-columns{padding-bottom:20px}
@media(max-width:760px){
 .participant-space .space-welcome:not(:has(.space-welcome-actions)){display:none}
 .participant-space .space-overview-details>summary{padding:14px 16px;flex-wrap:wrap}
 .participant-space .space-overview-details>summary small{font-size:12px}
 .participant-space .space-overview-details>section,.participant-space .space-overview-details>.space-metrics,.participant-space .space-overview-details>.space-columns,.participant-space .space-overview-details>.space-drafts{margin-left:16px;margin-right:16px}
}
