/* Shared interaction details retain the Vukao palette and existing layout. */
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #1456b8;outline-offset:3px}
.skip-content{position:fixed;top:8px;left:12px;z-index:10000;padding:12px 18px;background:white;color:#1456b8;border:2px solid #1456b8;border-radius:6px;transform:translateY(-160%)}
.skip-content:focus{transform:translateY(0)}
#react-feed-root:focus{outline:none}
.post-text-collapsed{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.post-read-more{border:0;background:transparent;color:#1456b8;font:inherit;font-weight:600;padding:8px 20px 12px;cursor:pointer;min-height:44px}
.post-text{overflow-wrap:anywhere}
.profile-section-nav{display:flex;gap:4px;border-bottom:1px solid #dfe6ef;background:white;padding:0 12px;overflow-x:auto;margin-bottom:16px}
.profile-section-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:0 14px;text-decoration:none;color:#596575;white-space:nowrap;border-bottom:3px solid transparent;font-size:14px}
.profile-section-nav a[aria-current="page"]{color:#1456b8;border-bottom-color:#1456b8;font-weight:600}
.composer-draft-note{font-size:12px;line-height:1.5;color:#596575;margin:8px 0}
.publication-dialog textarea{box-sizing:border-box;width:100%;min-height:140px;max-height:45dvh;resize:vertical}
.message-history{overscroll-behavior:contain;scroll-padding-block:24px}
.message-composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
@media(pointer:coarse){.post-head button,.post-options summary,.profile-icon-control,.message-thread-heading button,.message-thread-heading summary,.message-composer button{min-width:44px;min-height:44px}.comment-tools button{min-height:36px;padding-block:8px}}
@media(max-width:760px){.publication-dialog textarea,.message-composer textarea{font-size:16px}.profile-section-nav a{flex:1;padding-inline:10px}.publication-dialog{max-height:calc(100dvh - 24px);overflow:auto}.message-thread-pane{scroll-margin-bottom:env(safe-area-inset-bottom)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.publication-progress{display:grid;gap:6px;margin:12px 0;color:#596575;font-size:13px}.publication-progress progress{width:100%;accent-color:#1456b8}

.message-new-arrivals{align-self:center;flex-shrink:0;margin:6px auto;padding:8px 14px;min-height:36px;background:#fff;color:#1456b8;border:1px solid #dfe6ef;border-radius:18px;font:inherit;font-size:13px;cursor:pointer;box-shadow:0 2px 6px #17243d12}.message-send-status{font-size:12px;color:#596575;flex-basis:100%;text-align:right}.message-composer .media-error button{font:inherit;color:#1456b8;background:transparent;border:0;text-decoration:underline;min-height:36px;cursor:pointer}
@media(max-width:760px){.messenger.keyboard-open{min-height:0!important}.messenger.keyboard-open .message-thread-pane{min-height:0}.messenger.keyboard-open .message-history{min-height:0}.message-composer textarea{scroll-margin-bottom:16px}}

.search{position:relative}.search-recents{position:absolute;top:calc(100% + 8px);left:0;right:0;min-width:260px;padding:10px;z-index:100;box-shadow:0 6px 20px #17243d18}.search-recents-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;padding:4px 6px 8px}.search-recents button{font:inherit;border:0;background:transparent;cursor:pointer;color:inherit}.search-recents-heading button{color:#1456b8;font-size:12px;min-height:36px}.recent-search-row{display:flex;align-items:center;gap:4px}.recent-search-query{display:flex;align-items:center;gap:10px;min-height:44px;min-width:0;flex:1;text-align:left;padding:8px}.recent-search-query span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-search-remove{min-width:40px;min-height:44px;font-size:22px!important}.recent-search-row:hover{background:#f4f6fa;border-radius:6px}@media(max-width:760px){.search-recents{position:fixed;top:64px;min-width:0;width:auto;left:12px;right:12px}.search-recents-heading{flex-wrap:wrap}.search-result-tabs{max-width:100%;overflow-x:auto}.search-result-tabs button{flex-shrink:0;min-height:44px}}

/* Names and project titles remain navigation targets without browser link styling. */
#app a.author-name:any-link,
#app a.author-name:any-link:is(:hover,:active,:focus),
#app a.project-preview-main:any-link,
#app a.project-preview-main:any-link:is(:hover,:active,:focus),
#app a.rail-project:any-link,
#app a.rail-project:any-link:is(:hover,:active,:focus),
#app :is(h1,h2,h3) a[href^="/projets/"]:any-link {
  color: inherit;
  text-decoration: none;
}
#app .project-preview-main h3,
#app .rail-project h3 { color: var(--ink, #192b45); text-decoration: none; }

/* Keep member selectors inside the scrollable area, away from its scrollbar. */
.group-create .new-conversation-members{scrollbar-gutter:stable;padding-inline-end:12px;overflow-x:hidden}.group-member-row,.group-member{min-width:0}.group-member>span:not(.avatar){overflow-wrap:anywhere}.group-member input[type="checkbox"]{flex:0 0 18px;margin-inline:4px}
.empty-feed-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:16px}.empty-feed-actions button{min-height:44px}.public-policy-content{width:min(840px,calc(100% - 32px));margin:24px auto}

/* Keep the same badge spacing in both block and flex name rows. */
.post-head h3:has(> .verified[role="img"]), .account h3:has(> .verified[role="img"]) { column-gap: 0; }
