/* v0.61-alpha5-2-1: dark-theme legibility and consistent unread badges */
/* v0.61-alpha5-2-support-replies / UI Design System v1 */
.alpha52-support-prompt,
.alpha52-detail,
.alpha52-inbox-item,
.alpha52-empty {
    border: 1px solid #343b49;
    border-radius: 6px;
    padding: 12px;
    margin: 8px 0 12px;
}
.alpha52-support-prompt { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.alpha52-support-prompt strong { font-size: 15px; line-height: 1.4; }
.alpha52-support-prompt p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; }
.alpha52-support-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 36px; padding: 6px 12px;
    border: 1px solid #465062; border-radius: 6px;
    color: inherit; text-decoration: none; font-size: 14px; font-weight: 600;
}
.alpha52-support-link:focus-visible, .alpha52-inbox-item:focus-visible { outline: 2px solid #6f9fd5; outline-offset: 2px; }
.alpha52-unread-badge, .alpha52-replied-badge, .alpha52-pending-badge {
    display: inline-block; padding: 2px 6px; border-radius: 4px;
    font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.alpha52-unread-badge { border: 1px solid #6f9fd5; color: #d8eaff; background: #25384d; }
.alpha52-replied-badge { border: 1px solid #67b883; color: #cdebd8; background: #1f352b; }
.alpha52-pending-badge { border: 1px solid #465062; color: #a0a8b5; background: #252a35; }
.alpha52-help, .alpha52-inbox-meta, .alpha52-detail-meta { font-size: 12px; line-height: 1.5; color: #a0a8b5; }
.alpha52-notice { border-left: 3px solid #6f9fd5; padding: 8px 10px; margin: 8px 0 12px; font-size: 13px; line-height: 1.5; color: #e5e8ed; background: #1d212b; }
.alpha52-inbox-list { display: grid; gap: 8px; }
.alpha52-inbox-item { display: block; margin: 0; color: inherit; text-decoration: none; }
.alpha52-inbox-heading { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.alpha52-inbox-heading strong { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.alpha52-detail-subject { font-size: 16px; margin: 8px 0 12px; overflow-wrap: anywhere; }
.alpha52-detail-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: #e5e8ed; }
.alpha52-detail-text { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; white-space: normal; color: #e5e8ed; }
.alpha52-reply-panel { margin-top: 12px; padding: 12px; border-left: 3px solid #6f9fd5; color: #e5e8ed; background: #1d212b; border-radius: 4px; }
.alpha52-pending-message { margin-top: 12px; font-size: 13px; color: #a0a8b5; }
.alpha52-actions { display: flex; gap: 8px; margin-top: 12px; }
.alpha52-empty { font-size: 14px; }
@media (max-width: 600px) {
    .alpha52-support-prompt { flex-direction: column; align-items: stretch; gap: 8px; }
    .alpha52-support-link { min-height: 40px; }
    .alpha52-inbox-item { padding: 10px; }
    .alpha52-detail { padding: 10px; }
}
