/* Swiss TrottiPass — annonces et signalements, affichage responsive */
#tp-community,#tp-theft-workspace,#tp-theft-admin{box-sizing:border-box;width:min(1120px,calc(100% - 32px));margin:32px auto;padding:30px;background:#fff;border:1px solid #e1e7ef;border-radius:20px;color:#14243c;box-shadow:0 6px 24px #14243c08}
#tp-community *,#tp-theft-workspace *,#tp-theft-admin *{box-sizing:border-box}
#tp-community [hidden],#tp-theft-workspace [hidden],#tp-theft-admin[hidden],#tp-theft-admin [hidden]{display:none!important}
#tp-community .eyebrow{display:block;color:#c72843;font-size:11px;font-weight:800;letter-spacing:.1em}
#tp-community h2,#tp-theft-workspace h2,#tp-theft-admin h2{font-size:clamp(23px,3vw,31px);line-height:1.25;letter-spacing:-.5px;margin:12px 0 14px;color:#14243c}
#tp-community h2:not(:first-of-type){margin-top:32px}
#tp-community h3,#tp-theft-workspace h3{font-size:19px;line-height:1.35;margin:12px 0;color:#14243c}
#tp-community p,#tp-theft-workspace p,#tp-theft-admin p{font-size:13px;line-height:1.7;color:#52657c}
#tp-community .tp-intro{max-width:75ch}
.tp-community-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
#tp-community button,#tp-theft-workspace button,#tp-theft-admin button{min-height:42px;padding:11px 16px;border:1px solid #14243c;border-radius:10px;background:#14243c;color:#fff;font:650 13px/1.4 inherit;cursor:pointer}
#tp-community button:hover,#tp-theft-workspace button:hover,#tp-theft-admin button:hover{filter:brightness(1.15)}
#tp-community button:focus-visible,#tp-theft-workspace button:focus-visible,#tp-theft-admin button:focus-visible{outline:3px solid #88b7ef;outline-offset:3px}
#tp-community #tp-refresh{background:#fff;color:#14243c}
.tp-publish-panel{max-width:800px;padding:22px;margin:22px 0;border:1px solid #dce5ef;border-radius:16px;background:#f6f9fc}
.tp-publish-panel label{display:block;margin:14px 0;color:#14243c;font-size:13px;font-weight:650}
.tp-publish-panel input,.tp-publish-panel select,.tp-publish-panel textarea{display:block;width:100%;max-width:100%;min-height:43px;margin:6px 0 0;padding:11px 12px;border:1px solid #cbd6e3;border-radius:9px;background:#fff;color:#14243c;font:400 14px/1.5 inherit}
.tp-publish-panel textarea{min-height:105px;resize:vertical}
.tp-publish-panel input[type=file]{padding:10px;overflow-wrap:anywhere}
.tp-community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:16px 0 24px;min-height:20px}
.tp-community-grid>article,.tp-community-grid>.card,.tp-community-grid>div{min-width:0;padding:18px;border:1px solid #e1e7ef;border-radius:14px;background:#f8fafc;overflow-wrap:anywhere}
.tp-community-grid img{display:block;max-width:100%;width:100%;height:180px;object-fit:contain;border-radius:10px;background:#fff}
#tp-my-theft>*,#tp-admin-reports>*{max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){#tp-community,#tp-theft-workspace,#tp-theft-admin{width:calc(100% - 24px);margin:18px auto;padding:20px 16px;border-radius:16px}.tp-publish-panel{padding:16px}.tp-community-toolbar{flex-direction:column}.tp-community-toolbar button{width:100%}.tp-community-grid{grid-template-columns:1fr}}
