/* Posts panel — admin.ys-legal.eu. Loaded after launch.css (reuses .lc-card, .lc-btn). */
#lc-posts-note, #ps-list, #ps-limits { max-width: 760px; }
.ps-item { padding: 14px 16px; margin: 0 0 12px; border: 1px solid #c5d3e2; border-radius: 12px; background: #fff; }
.ps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: #3e5674; }
.ps-badge { padding: 2px 8px; border-radius: 8px; font-size: 12px; background: #fdf0d5; color: #7a4f00; }
.ps-badge.is-validated { background: #e3edf8; color: #0a223f; }
.ps-badge.is-scheduled, .ps-badge.is-sent { background: #e1f3e6; color: #1f6b3a; }
.ps-badge.is-rejected, .ps-badge.is-error { background: #f6e1e1; color: #8a1f1f; }
.ps-tweet { margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid #eef2f6; }
.ps-tweet:last-of-type { border-bottom: 0; }
.ps-text { margin: 0 0 4px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.ps-num { font-size: 12px; color: #3e5674; }
.ps-src { margin: 0; font-size: 12px; }
.ps-src a { color: #1e5ba1; overflow-wrap: anywhere; }
.ps-count { font-size: 12px; color: #3e5674; }
.ps-count.is-over { color: #8a1f1f; }
.ps-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.ps-actions input[type="datetime-local"] { min-height: 40px; padding: 0 8px; border: 1px solid #c5d3e2; border-radius: 8px; font: inherit; }
.ps-actions .lc-btn.is-main { background: #0a223f; color: #fff; }
.ps-problems { margin: 6px 0 0; font-size: 13px; color: #8a5a00; }
.ps-error { margin: 6px 0 0; font-size: 13px; color: #8a1f1f; }
.ps-edit { width: 100%; min-height: 84px; padding: 8px; border: 1px solid #c5d3e2; border-radius: 8px; font: inherit; line-height: 1.5; box-sizing: border-box; }
.ps-empty { padding: 20px; border: 1px dashed #c5d3e2; border-radius: 12px; color: #3e5674; font-size: 14px; }
.ps-limits { font-size: 13px; color: #3e5674; margin: 0 0 12px; }
.ps-day { margin: 0 0 18px; }
.ps-day-title { margin: 0 0 8px; font-size: 15px; text-transform: capitalize; color: #0a223f; }
.ps-badge.is-candidate { background: #e3edf8; color: #0a223f; }
.ps-badge.is-reserve { background: #eef2f6; color: #3e5674; }
.ps-reco { padding: 2px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; background: #0a223f; color: #fff; }
.ps-why { margin: 0 0 4px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.ps-risk { margin: 0 0 10px; font-size: 13px; }
.ps-risk.is-low { color: #1f6b3a; } .ps-risk.is-medium { color: #8a5a00; } .ps-risk.is-high { color: #8a1f1f; }
.ps-reserve { max-width: 760px; margin: 0 0 12px; } .ps-reserve summary { cursor: pointer; padding: 8px 0; font-size: 14px; color: #3e5674; }
@media (max-width: 520px) { .ps-actions input, .ps-actions .lc-btn { width: 100%; } }

.todo-pill { margin-left: auto; align-self: center; padding: 6px 12px; border-radius: 999px; background: #0a223f; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) { .main-tabs { flex-wrap: wrap; } .todo-pill { order: -1; margin: 0 0 6px auto; } }
