.bulk-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding: 7px; border-radius: 10px; background: #f7f8fa; }
.bulk-toolbar .bulk-select-all { display: flex; align-items: center; gap: 5px; margin: 0; padding: 3px 5px; cursor: pointer; }
.bulk-toolbar input, .item-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.bulk-toolbar > span { margin-right: auto; color: var(--muted); font-size: 12px; }
.bulk-delete { border: 0; border-radius: 10px; background: #fff0f1; color: #b42331; cursor: pointer; }
.item-check { display: flex; margin: 0 1px 0 0; cursor: pointer; }
.content-card:has(.item-check input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px #3182f61c; }
.ajax-message { grid-column: 1 / -1; margin: 0 0 12px; padding: 10px 12px; border-radius: 9px; background: #fff0f1; color: #b42331; }
.ajax-message.success { background: #eafaf0; color: #087a37; }
.ajax-busy { opacity: .65; pointer-events: none; }
.shared-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 24px; border-radius: 18px; background: #edf4ff; }
.shared-intro h2 { margin: 0 0 5px; }
.shared-intro p { margin: 0; color: var(--muted); }
.shared-intro > span { flex: 0 0 auto; color: #1b64da; font-weight: 700; }
.shared-product-label { max-width: 100%; overflow: hidden; border-radius: 7px; padding: 3px 7px; background: #fff5db; color: #8a5b00; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.phrase-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 76px; align-items: start; gap: 8px; margin-top: 8px; }
.phrase-content-column { min-width: 0; }
.inline-phrase-form { margin: 0; }
.inline-phrase-textarea { display: block; min-height: 72px; max-height: none; padding: 10px 11px 14px; resize: none; overflow: hidden; line-height: 1.6; vertical-align: top; background: #fafbfc; }
.inline-phrase-textarea:focus { background: #fff; }
.phrase-content-column small { margin: 5px 2px 0; }
.phrase-action-rail { display: grid; gap: 5px; }
.phrase-action-rail form { margin: 0; }
.phrase-action-rail button { width: 100%; min-height: 34px; padding: 7px 5px; white-space: nowrap; font-size: 12px; }
.rail-detail { border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.content-cards { gap: 8px; margin-top: 12px; }
.content-card { padding: 11px 12px; border-radius: 12px; }
.card-meta { min-height: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.post-main { min-width: 0; flex: 1; }
.post-metrics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.post-metrics span { padding: 4px 8px; border-radius: 8px; background: #f2f4f6; color: var(--muted); font-size: 12px; }
.post-metrics b { color: var(--text); }
.metric-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-inputs label { margin-bottom: 12px; }
@media (max-width: 600px) {
    .bulk-toolbar > span { width: calc(100% - 130px); }
    .bulk-toolbar button { flex: 1 1 auto; }
    .phrase-card-body { grid-template-columns: minmax(0, 1fr) 70px; gap: 6px; }
    .content-card { padding: 10px; }
    .metric-inputs { grid-template-columns: 1fr; }
}
