/* Shared title-then-tags treatment for topic cards and thread pages. */
.topic-row-heading .post-tags,.thread-post>.post-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px 5px;margin:7px 0 10px}
.topic-card .topic-row-heading h3{margin:0;line-height:1.5}
.post-tags .article-tag{display:inline-block;margin:0;padding:1px 6px;border:0;border-radius:4px;font-size:10px;font-weight:400;line-height:1.7;letter-spacing:0}
.post-tags .topic-category-tag{background:#edf0ff;color:#3859ba}.post-tags .category-0{background:#fff3df;color:#a27532}.post-tags .category-1{background:#eaf3ff;color:#4c76aa}.post-tags .category-2{background:#eef0ff;color:#6b5fb2}.post-tags .category-3{background:#f9edf3;color:#a45e7e}
.post-tags .topic-custom-tag{background:#eaf5f2;color:#4f817c}.post-tags .tag-tone-1{background:#f0ebfb;color:#7964ab}.post-tags .tag-tone-2{background:#edf5fa;color:#547c9b}
.post-tags .topic-sample{font-size:10px;line-height:1.7;padding:1px 5px;margin:0}
.thread-post>h1{margin-bottom:0}.thread-post>.post-tags{margin-top:12px;margin-bottom:20px}.thread-post>.post-tags .article-tag{font-size:11px}
.post-tag-editor{margin:0;padding:0;border:0;min-width:0}.post-tag-editor legend{font-size:13px;color:#5f6d84;margin-bottom:8px;padding:0}.post-tag-editor legend small{font-size:11px;color:#8492a8;margin-left:7px;font-weight:400}
.post-tag-entry{display:flex;align-items:stretch;gap:8px}.post-tag-entry input{flex:1;min-width:0}.post-tag-entry>button{flex-shrink:0;border:1px solid #d8e3f8;border-radius:8px;padding:0 18px;background:#eef3fe;color:#365ca5;font-size:12px;font-weight:600;cursor:pointer}
.post-tag-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.post-tag-chips:empty{margin:0}.post-tag-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #dce7f7;border-radius:5px;background:#eff5ff;color:#466898;padding:3px 7px;font-size:11px;max-width:100%;overflow-wrap:anywhere}.post-tag-chip button{font:inherit;font-size:16px;line-height:1;border:0;padding:2px 3px;color:#6a7f9e;background:transparent;cursor:pointer}.post-tag-chip button:focus-visible{outline:2px solid #4967cf;outline-offset:1px}
.post-tag-error{font-size:11px;color:#c15555;margin:5px 0 0;line-height:1.5}.post-tag-error:empty{display:none}
.admin-review-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0 18px}.admin-review-tags span{font-size:12px;border:1px solid #39435b;border-radius:5px;background:#222d42;color:#c4d4ff;padding:3px 8px}
@media(max-width:650px){.post-tag-editor legend small{display:block;margin:4px 0 0}.post-tag-entry>button{min-height:42px}.post-tag-chip button{min-height:28px;min-width:28px}.thread-post>.post-tags .article-tag{font-size:10px}}

.topic-row-heading{gap:0}.home-community #home-articles .topic-row-heading{gap:0}.home-community #home-articles .topic-row{height:auto}.home-community #home-articles .post-tags{margin:7px 0 3px}
