/* PHOTOGAMAT V1.3.3 — recherche et favoris */
.pg-chat-favorite{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;border:1px solid transparent;border-radius:8px;background:transparent;color:#99a4a7;font-size:1.45rem;line-height:1;cursor:pointer}
.pg-chat-favorite.is-active{color:#c5ae88}
.pg-chat-favorite:hover,.pg-chat-favorite:focus-visible{background:#293136;border-color:#536060}
.pg-chat-favorite:disabled{opacity:.55;cursor:wait}
.pg-chat-message-meta{align-items:center}
.pg-chat-focused{outline:2px solid #c5ae88;outline-offset:2px}
.pg-chat-top-action{display:inline-flex;align-items:center;justify-content:center;color:#c5ae88}
.pg-chat-tools-page{max-width:1040px;margin:0 auto}
.pg-chat-tools-page h1{font-size:clamp(1.4rem,3vw,2rem);font-weight:500;margin:8px 0 22px}
.pg-chat-search-form{display:grid;gap:10px;padding:16px}
.pg-chat-search-form label{font-size:.9rem;color:#aeb9bb}
.pg-chat-search-line{display:flex;gap:10px}
.pg-chat-search-line input{flex:1;min-width:0;width:100%;min-height:44px;padding:10px 12px;border:1px solid #536064;border-radius:8px;background:#101416;color:#f1eee7;font:inherit}
.pg-chat-search-line button{flex:none;width:auto;min-width:115px}
.pg-chat-tool-results{display:grid;gap:10px;margin-top:20px}
.pg-chat-tool-result{display:block;padding:14px 16px;border:1px solid #394549;background:#1b2225;border-radius:12px;color:#f1eee7;text-decoration:none;min-width:0}
.pg-chat-tool-result:hover,.pg-chat-tool-result:focus-visible{border-color:#c5ae88;background:#232c30}
.pg-chat-result-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}
.pg-chat-result-top strong{color:#c5ae88}
.pg-chat-result-top time{font-size:.76rem;color:#aab3b5}
.pg-chat-tool-result p{margin:8px 0 0;font-size:.92rem;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media(max-width:600px){.pg-chat-search-line{flex-direction:column}.pg-chat-search-line button{width:100%}.pg-chat-tool-result{padding:12px}}

/* V1.3.3.1 : outils de recherche/favoris au niveau de la saisie */
.pg-chat-composer-bottom .pg-chat-navigation-tool{color:#c5ae88;text-decoration:none;box-sizing:border-box}
.pg-chat-composer-bottom .pg-chat-navigation-tool svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pg-chat-composer-bottom .pg-chat-navigation-tool:hover,.pg-chat-composer-bottom .pg-chat-navigation-tool:focus-visible{border-color:#c5ae88;background:#2b3438}
.pg-chat-newer{margin-bottom:7px}
@media(max-width:700px){.pg-chat-composer form .pg-chat-composer-bottom{flex-wrap:wrap;gap:6px}.pg-chat-composer form .pg-chat-composer-bottom .pg-chat-tool{flex:0 0 42px;width:42px;min-width:42px}.pg-chat-composer form .pg-chat-composer-bottom .pg-chat-filename{order:2;flex-basis:100%;min-height:0}.pg-chat-composer form .pg-chat-composer-bottom .pg-chat-send{min-width:96px;margin-left:auto}}
