/* Support & help module: help centre, contextual help panel, message threads, support tickets. */
.help-list { list-style: none; padding: 0; margin: 0; }
.help-list li { padding: 10px 0; border-bottom: 1px solid var(--glass-border); }
.help-list li:last-child { border-bottom: 0; }
.help-list a { font-weight: 600; text-decoration: none; }
.help-list .excerpt { display: block; margin-top: 2px; color: var(--text-muted); font-size: 0.85rem; }
.help-search { display: flex; gap: 8px; align-items: center; min-width: min(360px, 100%); }
.help-search input { flex: 1; }
.prose { line-height: 1.65; font-size: 0.97rem; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.3em 0 0.45em; line-height: 1.25; }
.prose h1 { font-size: 1.5rem; } .prose h2 { font-size: 1.25rem; } .prose h3 { font-size: 1.08rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 0.9em; }
.prose pre { background: var(--glass-strong); padding: 12px 14px; border-radius: var(--radius-sm); overflow-x: auto; border: 1px solid var(--glass-border); }
.prose code { background: var(--glass-strong); padding: 1px 6px; border-radius: 6px; font-size: 0.9em; }
.prose pre code { background: transparent; padding: 0; }
.prose img { max-width: 100%; border-radius: var(--radius-sm); }
.prose blockquote { margin: 0 0 0.9em; padding: 8px 14px; border-left: 4px solid var(--primary); background: var(--glass); border-radius: var(--radius-sm); }
.prose table { margin: 10px 0 16px; }
.support-box { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 0.9rem; }
.support-box a { text-decoration: none; font-weight: 600; }
.support-box .hours { color: var(--text-muted); }
.support-box.compact { justify-content: center; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--glass-border); font-size: 0.8rem; color: var(--text-muted); gap: 6px 14px; }
.help-panel-section { margin-top: 18px; }
.help-panel-section h3 { font-size: 0.95rem; margin: 0 0 8px; }
.help-panel-section .help-list li { padding: 8px 0; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.thread-message { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border); background: var(--glass); max-width: 85%; align-self: flex-start; }
.thread-message.mine { align-self: flex-end; background: color-mix(in srgb, var(--primary) 12%, var(--glass-strong)); }
.thread-message.internal { border-style: dashed; border-color: var(--warning); background: color-mix(in srgb, var(--warning) 8%, var(--glass)); max-width: 100%; align-self: stretch; }
.thread-message .meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.thread-message .body { white-space: pre-wrap; word-break: break-word; }
.thread-message .attachment { margin-top: 6px; font-size: 0.82rem; }
.thread-empty { color: var(--text-muted); padding: 8px 0; }
.video-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ticket-meta { display: grid; gap: 8px 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); font-size: 0.9rem; }
.ticket-meta .label { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; }
.status-summary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.markdown-help { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
input[type=file] { width: 100%; padding: 8px 0; font: inherit; color: var(--text); }
input[type=url], input[type=search], input[type=tel] { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border); background: var(--glass-strong); color: var(--text); font: inherit; }
@media (max-width: 900px) { .thread-message { max-width: 100%; } .help-search { min-width: 100%; } }
