
.tcp-profile-heading,.tcp-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.tcp-red-pill{background:#c50905;color:white;border:0;border-radius:24px;padding:9px 24px;font-weight:700;cursor:pointer}.tcp-profile-overview{display:flex;align-items:flex-start;gap:24px}.tcp-profile-overview .tcp-profile-image{width:120px;height:120px;flex:none;border-radius:50%;object-fit:cover}.tcp-profile-overview h3{margin:0 0 8px;font-size:25px}.tcp-profile-position{font-weight:700}.tcp-modal[hidden],.tcp-article-tabpanel[hidden]{display:none!important}.tcp-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}.tcp-modal-shade{position:absolute;inset:0;background:rgba(0,0,0,.62)}.tcp-modal-dialog{position:relative;background:#fff;width:min(100%,650px);max-height:90vh;overflow:auto;border-radius:12px;padding:24px;box-shadow:0 18px 55px #0005}.tcp-modal-heading button{font-size:30px;background:none;border:0;cursor:pointer}.tcp-article-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.tcp-article-tab{padding:10px 16px;background:#f4f4f4;border:1px solid #ccc;border-radius:6px;cursor:pointer}.tcp-article-tab[aria-selected=true]{background:#c50905;color:#fff;border-color:#c50905}.tcp-detail-open{background:#c50905;color:white;border:0;border-radius:5px;padding:5px 11px;cursor:pointer}.tcp-history-list li{padding:8px 0;border-bottom:1px solid #eee}body.tcp-modal-open{overflow:hidden}@media(max-width:550px){.tcp-profile-overview{flex-direction:column}.tcp-modal-dialog{padding:16px}}

.tcp-public-contributor .tcp-profile-overview{margin:24px 0 45px}.tcp-featured-contributor-articles{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}.tcp-contributor-feature{min-width:0}.tcp-contributor-feature img{width:100%;aspect-ratio:16/10;object-fit:cover}.tcp-contributor-feature a{color:inherit;text-decoration:none}.tcp-contributor-feature h3{font-size:clamp(18px,2vw,25px);line-height:1.2}.tcp-contributor-lead h3{font-size:clamp(22px,2.8vw,34px)}.tcp-contributor-list-item{border-bottom:1px solid #ddd;padding:13px 0}.tcp-contributor-list-item a{color:inherit;text-decoration:none}@media(max-width:700px){.tcp-featured-contributor-articles{grid-template-columns:1fr 1fr}.tcp-contributor-lead{grid-column:1/-1}}

/* Post-management reference: clean white editorial list, not action-button table. */
.tcp-intranet .tcp-panel.tcp-posts-panel{background:#fff;border:1px solid #e5e5e5;border-radius:16px;padding:24px 30px;box-shadow:0 8px 26px #0000000c}
.tcp-posts-panel h2{font-size:21px;margin:0 0 14px}
.tcp-posts-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;border-bottom:1px solid #e8e8e8;flex-wrap:wrap}
.tcp-posts-panel .tcp-article-tabs{display:flex;gap:22px;margin:0;align-items:center}
.tcp-intranet .tcp-posts-panel .tcp-article-tab{appearance:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#777;padding:12px 0 14px;font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer}
.tcp-intranet .tcp-posts-panel .tcp-article-tab[aria-selected="true"]{background:transparent;color:#111;border-bottom-color:#111;font-weight:700}
.tcp-tab-count{background:#f0f0f0;border-radius:20px;font-size:10px;padding:2px 5px;color:#555}.tcp-article-tab[aria-selected="true"] .tcp-tab-count{background:#222;color:#fff}
.tcp-posts-tools{display:flex;align-items:center;gap:10px;padding-bottom:8px;flex-wrap:wrap}.tcp-posts-tools input,.tcp-posts-tools select{font-size:12px;max-width:140px;border:0;background:transparent;color:#555;padding:6px 2px;min-width:0}.tcp-posts-tools input{width:112px}.tcp-posts-tools select{max-width:135px;cursor:pointer}.tcp-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.tcp-post-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,145px) auto;align-items:center;gap:18px;border-bottom:1px solid #ededed;padding:18px 0;min-height:82px}.tcp-post-main{display:flex;align-items:center;gap:13px;min-width:0}.tcp-post-thumb{width:54px;height:54px;flex:none;border-radius:3px;overflow:hidden;background:#f1f1f1;display:grid;place-items:center;color:#999}.tcp-post-thumb img{width:100%;height:100%;object-fit:cover}.tcp-post-copy{min-width:0}.tcp-post-title{font-size:13px;font-weight:650;line-height:1.35;color:#181818}.tcp-post-meta{font-size:10px;color:#888;margin-top:5px}.tcp-post-note{font-size:11px;color:#555;margin-top:6px;max-width:430px}.tcp-feedback-indicator{color:#a20b08}.tcp-post-stats{display:flex;align-items:center;justify-content:space-around;gap:20px}.tcp-post-stat{display:flex;flex-direction:column;min-width:34px;font-size:12px;color:#222}.tcp-post-stat strong{font-size:13px;font-weight:600;white-space:nowrap}.tcp-post-stat small{font-size:10px;color:#999;margin-top:3px;white-space:nowrap}.tcp-post-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}.tcp-intranet .tcp-posts-panel .tcp-detail-open{display:inline-flex;align-items:center;justify-content:center;background:white;color:#888;border:1px solid #e7e7e7;border-radius:4px;width:28px;height:28px;padding:0;font-size:16px;font-weight:400;cursor:pointer}.tcp-intranet .tcp-posts-panel .tcp-detail-open:hover{border-color:#888;color:#111}.tcp-post-edit{font-size:11px;color:#555;text-decoration:underline}.tcp-post-empty,.tcp-post-no-results{color:#777;font-size:13px;padding:20px 0}.tcp-profile-position{color:#c50905;font-weight:700}.tcp-social a{font-size:13px}
@media(max-width:760px){.tcp-intranet .tcp-panel.tcp-posts-panel{padding:16px}.tcp-post-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.tcp-post-stats{grid-column:1;grid-row:2;justify-content:flex-start;padding-left:67px}.tcp-post-actions{grid-column:2;grid-row:1/3}.tcp-posts-toolbar{align-items:start}.tcp-posts-tools{width:100%}}
@media(max-width:460px){.tcp-posts-panel .tcp-article-tabs{gap:12px}.tcp-posts-panel .tcp-article-tab{font-size:11px}.tcp-post-thumb{width:44px;height:44px}.tcp-post-stats{padding-left:57px}.tcp-post-title{font-size:12px}}
.tcp-post-row[hidden],.tcp-post-empty[hidden],.tcp-post-no-results[hidden]{display:none!important}

/* Dashboard: both existing panels use the same profile-grey surface and corners. */
.tcp-intranet .tcp-panel.tcp-contributor-profile,
.tcp-intranet .tcp-panel.tcp-posts-panel { background:#e5e5e5; border:1px solid #d2d2d2; border-radius:16px; }
