/* Landing Page Briefs — hub module styles */
.lpb-wrap { max-width: 820px; margin: 0 auto; padding: 8px 4px 60px; }
.lpb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.lpb-head h1 { font-size: 22px; margin: 0; }
.lpb-intro { color: var(--text-muted); font-size: 14px; margin: 4px 0 18px; }
.lpb-loading, .lpb-empty, .lpb-error { padding: 24px; text-align: center; color: var(--text-muted); }
.lpb-error { color: #d9534f; }

.lpb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lpb-table thead th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.lpb-row { cursor: pointer; }
.lpb-row td { padding: 11px 10px; border-bottom: 1px solid var(--border); }
.lpb-row:hover { background: var(--bg-hover, rgba(127,127,127,.08)); }
.lpb-title { font-weight: 600; }
.lpb-muted { color: var(--text-muted); }

.lpb-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--border); color: var(--text-primary); }
.lpb-pill-draft { background: #6c757d22; color: #6c757d; }
.lpb-pill-submitted { background: #ff590022; color: #ff5900; }
.lpb-pill-brand_extracted { background: #0d6efd22; color: #0d6efd; }
.lpb-pill-in_design { background: #6f42c122; color: #6f42c1; }
.lpb-pill-assembled { background: #20c99722; color: #16a085; }
.lpb-pill-live { background: #19875422; color: #198754; }

.lpb-form { display: flex; flex-direction: column; gap: 18px; margin-top: 14px; }
.lpb-block { border: 1px solid var(--border); border-radius: 10px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.lpb-block legend { font-weight: 700; font-size: 14px; padding: 0 6px; color: var(--accent, #ff5900); }
.lpb-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.lpb-field > span { font-weight: 600; color: var(--text-primary); }
.lpb-hint { font-weight: 400; color: var(--text-muted); font-style: italic; }
.lpb-field input, .lpb-field textarea, .lpb-field select {
  width: 100%; box-sizing: border-box; padding: 9px 11px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 7px; background: var(--bg-input); color: var(--text-primary);
  font-family: inherit;
}
.lpb-field textarea { resize: vertical; line-height: 1.5; }
.lpb-field input:focus, .lpb-field textarea:focus, .lpb-field select:focus { outline: none; border-color: var(--accent, #ff5900); }

/* help balloon + status note */
.lpb-help { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; background: var(--border); color: var(--text-secondary); font-size: 10px; font-weight: 700; cursor: help; vertical-align: middle; }
.lpb-status-note { font-size: 12px; color: var(--text-muted); margin: -6px 0 2px; line-height: 1.5; }

.lpb-status-ro { font-size: 13px; color: var(--text-muted); margin: 6px 0; }
.lpb-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.lpb-savemsg { font-size: 13px; color: var(--text-muted); }
.lpb-savemsg.ok { color: #198754; }
.lpb-savemsg.err { color: #d9534f; }

@media (max-width: 640px) {
  .lpb-wrap { padding: 8px 2px 50px; }
  .lpb-table { font-size: 13px; }
  /* drop Channel (2) + Updated (4) so the list fits a phone without h-scroll */
  .lpb-table th:nth-child(2), .lpb-table td:nth-child(2),
  .lpb-table th:nth-child(4), .lpb-table td:nth-child(4) { display: none; }
  .lpb-head { flex-wrap: wrap; }
}
