/* LNAT discussion room (discussion-room.html, discussion-thread.html).
   Loaded after site-public.css. */
body { background: var(--bg-light); }
.room-header { background: var(--oxford-navy); color: #fff; padding: 140px 0 48px; }
.room-header h1 { font-weight: 700; font-size: 2.4rem; margin: 8px 0 10px; line-height: 1.25; }
.room-header .lead { color: rgba(255,255,255,.85); max-width: 760px; font-size: 1.05rem; }
.room-header .crumb a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; }
.room-header .crumb a:hover { color: #fff; text-decoration: underline; }
.room-meta { color: rgba(255,255,255,.75); font-size: .9rem; }
.room-meta .tag-team { background: rgba(255,255,255,.18); }
.room-main { padding: 36px 0 56px; }

.panel-lx { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.panel-lx h2 { font-size: 1.15rem; color: var(--primary-color); margin-bottom: 12px; }
.panel-lx p, .panel-lx li { font-size: .95rem; color: var(--text-light); }
.panel-lx ul { padding-left: 1.1rem; margin-bottom: 0; }
.panel-lx li { margin-bottom: 6px; }

.thread-row { display: block; padding: 16px 0; border-top: 1px solid #edf2f7; text-decoration: none; color: inherit; }
.thread-row:first-child { border-top: 0; padding-top: 0; }
.thread-row:hover .thread-title { text-decoration: underline; }
.thread-title { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.1rem; color: var(--primary-color); line-height: 1.35; }
.thread-excerpt { color: var(--text-light); font-size: .92rem; margin: 4px 0 6px; }
.thread-meta { font-size: .82rem; color: #718096; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; font-family: 'Inter', sans-serif; }
.tag-team { background: #14243d; color: #fff; }
.tag-pin { background: #f5e6cc; color: #7a520a; }
.tag-closed { background: #eef2f7; color: #4a5568; }
.tag-wait { background: #fdf1dc; color: #975a16; }

.btn-navy { background: var(--primary-color); color: #fff; border: 0; font-weight: 600; }
.btn-navy:hover { background: var(--primary-hover); color: #fff; }
.btn-navy:disabled { opacity: .6; }
.form-label { font-weight: 600; font-size: .9rem; }
.hint { font-size: .82rem; color: #718096; }
.msg { font-size: .9rem; border-radius: 8px; padding: 10px 12px; margin-top: 10px; }
.msg-ok { background: #e6f4ea; color: #1a5236; }
.msg-wait { background: #fdf1dc; color: #7a520a; }
.msg-err { background: #fde8e8; color: #8b1a1a; }

/* Thread page */
.passage { background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid var(--accent-gold); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; }
.passage-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #975a16; margin-bottom: 8px; }
.post { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.post.team { border-color: #c9d6e8; background: #f8fbff; }
.post.pending { border-style: dashed; }
.post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .88rem; }
.post-author { font-weight: 700; color: var(--primary-color); }
.post-date { color: #718096; }
.post-body p { margin-bottom: .7rem; overflow-wrap: anywhere; }
.post-body p:last-child { margin-bottom: 0; }
.post-actions { margin-top: 10px; display: flex; gap: 14px; }
.link-btn { background: none; border: 0; padding: 0; font-size: .82rem; color: #718096; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--primary-color); }
.prompt-body { font-size: 1.02rem; }
.count { font-size: .82rem; color: #718096; text-align: right; }

@media (max-width: 767px) {
  .room-header { padding: 120px 0 36px; }
  .room-header h1 { font-size: 1.8rem; }
}
