
/* Corrections validées du 30 octobre : lecture, hiérarchie et identité IDEF. */
body.crm-clarity{--clarity-pink:var(--crm-accent,#eb008b);--clarity-muted:#536078}
body.crm-clarity main #content{font-size:16px;line-height:1.55}
body.crm-clarity main #content :is(input,select,textarea,button,.button){font-size:15px}
body.crm-clarity main #content :is(.small,.muted,small,.crm-stand-panel small){font-size:14px;color:#536078}
body.crm-clarity main #content :is(td,th,.crm-stand-checks label){font-size:15px}
body.crm-clarity main #content .panel h2{font-size:23px;line-height:1.25}
body.crm-clarity main #content :is(.crm-event-secondary a,.crm-clarity-local-nav [data-crm-control="tab"]){font-size:14px!important;line-height:1.35}
body.crm-clarity main #content .crm-event-family strong{font-size:14px}
body.crm-clarity main #content :is(button,.button)[data-crm-control="primary"],body.crm-clarity dialog :is(button,.button)[data-crm-control="primary"]{background:var(--crm-accent,#eb008b)!important;border-color:var(--crm-accent,#eb008b)!important}
body.crm-clarity main #content button.participant-photo-zoom[data-crm-control],body.crm-clarity #editor button.participant-photo-zoom[data-crm-control]{border:0!important;background:transparent!important;box-shadow:none!important;outline-offset:4px;border-radius:50%!important;overflow:hidden;padding:0!important}
body.crm-clarity .participant-photo-zoom img{margin:0!important}
body.crm-clarity .participant-photo-zoom:focus-visible{outline:3px solid #7052b5!important}
body.crm-clarity #content .crm-badge-start{background:#fff;border:1px solid #e7deea;box-shadow:none;color:#19213a;border-left:4px solid var(--crm-accent,#eb008b)}
body.crm-clarity #content .crm-badge-start h2{color:#19213a}
body.crm-clarity #content .crm-badge-start p{color:#536078}
body.crm-clarity #content .crm-badge-start-icon{background:#fff0f7;color:var(--crm-accent,#eb008b)}
body.crm-clarity #content .crm-stand-hero{background:#fff;border:1px solid #e7deea;border-left:4px solid var(--crm-accent,#eb008b);color:#19213a;box-shadow:none}
body.crm-clarity #content .crm-stand-hero h2{color:#19213a;font-size:25px}
body.crm-clarity #content .crm-stand-hero :is(p,small){color:#536078;font-size:14px}
body.crm-clarity #content .crm-stand-hero>strong{color:var(--crm-accent,#eb008b);font-size:30px}
body.crm-clarity #content .crm-stand-hero span{color:#536078;font-size:12px;letter-spacing:.08em}
body.crm-clarity #content .crm-stand-dossier-header{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;margin:15px 0 20px;align-items:center;flex-wrap:wrap}
body.crm-clarity #content .crm-stand-dossier-header>.actions{flex-shrink:0}
.crm-stand-identity{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.crm-stand-brand{display:flex;align-items:center;gap:16px;max-width:620px;font-size:20px;font-weight:700;line-height:1.3;color:#19213a}
.crm-stand-logo,.crm-stand-monogram{display:grid;place-items:center;flex:none;width:84px;height:65px;object-fit:contain;padding:7px;border:1px solid #e6e5ef;background:#fff;border-radius:12px}
.crm-stand-monogram{background:#fff0f7;color:var(--crm-accent,#eb008b);font-size:23px}
body.crm-clarity #content .crm-stand-summary{background:#f7f8fc;border:1px solid #e6e5ef;gap:20px;padding:20px}
body.crm-clarity #content .crm-stand-summary p{font-size:15px}
body.crm-clarity #content .crm-stand-summary b{font-size:15px;color:#19213a}
body.crm-clarity #content .crm-stand-checks select{font-size:14px;width:185px}
body.crm-clarity #content .crm-stand-status{font-size:13px;padding:6px 10px}
body.crm-clarity #content .crm-stand-nav.crm-stand-workflow{padding:8px 0!important;border:0!important;border-bottom:1px solid #e4e5ee!important;margin:0 0 18px!important;gap:8px 16px!important}
.crm-stand-back{display:inline-flex;margin-bottom:5px}
.crm-self-travel-access{justify-content:flex-end}
.crm-activity-access{display:flex;align-items:center;justify-content:space-between;gap:20px}
.crm-activity-access h3{margin:0 0 5px}.crm-activity-access p{margin:0;color:#536078;font-size:15px}
body.crm-clarity #content :is(.crm-activity-access button,.crm-self-travel-access button,.crm-comm-hero button){display:inline-flex;align-items:center;gap:9px}
:is(.crm-activity-access,.crm-self-travel-access,.crm-comm-hero,#crm-comm-settings-form) svg{width:19px;height:19px;flex:none;vertical-align:middle}
.crm-form-link-help{padding:12px 15px;border-radius:10px;border:1px solid #e6e2ef;background:#faf8fe;font-size:14px;color:#46536c;line-height:1.6}
.crm-comm-hero .actions button{padding:12px 17px;min-height:44px}
body.crm-clarity #content .crm-comm-hero h2{font-size:26px;margin:0}
.crm-comm-grid .panel>h3{color:#19213a}
.crm-activity-exports{margin:15px 0;display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:700px){.crm-activity-access{align-items:start;flex-direction:column}.crm-stand-brand{font-size:18px}.crm-stand-logo,.crm-stand-monogram{width:65px;height:55px}body.crm-clarity #content .crm-stand-checks select{width:160px}.crm-self-travel-access{justify-content:flex-start}}
@media print{.crm-activity-access,.crm-self-travel-access,.crm-exception-access{display:none!important}}

body.crm-clarity main #content .crm-comm-hero button[data-comm="new"]{background:var(--crm-accent,#eb008b)!important;color:#fff!important;border-color:var(--crm-accent,#eb008b)!important;font-weight:700!important}
@media(max-width:1000px){body.crm-clarity main #content .crm-event-primary{grid-template-columns:repeat(3,minmax(0,1fr))}body.crm-clarity main #content .crm-event-family strong{overflow-wrap:normal;word-break:normal}}
@media(max-width:600px){body.crm-clarity main #content .crm-event-family strong{font-size:12px}}

body.crm-clarity main #content .crm-stand-dossier-header :is(p,small){font-size:14px!important;line-height:1.5;color:#536078}

/* Dietary exports stay directly visible, outside generic export menus. */
.crm-diet-exports{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.crm-diet-exports a{display:inline-flex;align-items:center;gap:8px}.crm-diet-exports svg{width:18px;height:18px;flex:none}
