.topbar .lc-message-button { position: relative; width: auto; padding-inline: 0.55rem; border-color: #ded4eb; color: #684f79; background: #f7f2fb; }
.lc-message-icon { color: #9865b0; font-size: 0.75rem; }
.topbar .lc-message-button .lc-message-label { display: inline; }
.topbar .lc-message-button .lc-unread-count { display: inline-grid; min-width: 19px; height: 19px; padding: 0 5px; place-items: center; border-radius: 999px; color: #fff; background: #c23f56; font-size: 0.75rem; line-height: 1; }

.lc-backdrop { position: fixed; inset: 0; z-index: 70; border: 0; background: rgba(25, 21, 30, 0.28); backdrop-filter: blur(1px); }
.lc-backdrop[hidden], .lc-drawer[hidden] { display: none; }
.lc-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(410px, 94vw); overflow-y: auto; border-left: 1px solid #ddd7e2; color: #302c34; background: #fff; box-shadow: -18px 0 60px rgba(35, 27, 41, 0.17); }
.lc-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 12px 16px; border-bottom: 1px solid #e7e2ea; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); }
.lc-drawer-head > div { display: grid; gap: 2px; }
.lc-drawer h2 { margin: 0; color: #3c3541; font-size: 1.08rem; }
.lc-kicker { color: #8b7695; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.06em; }
.lc-close { width: 34px; height: 34px; border: 0; border-radius: 7px; color: #7d7581; background: #f6f4f7; font-size: 1.25rem; }
.lc-feedback { margin: 10px 12px 0; padding: 8px 10px; border-radius: 7px; font-size: 0.75rem; line-height: 1.45; }
.lc-feedback.is-error { color: #9c303d; background: #fff0f2; }
.lc-feedback.is-success { color: #176b50; background: #ebf8f2; }

.lc-publisher { padding: 12px; border-bottom: 1px solid #ebe7ed; }
.lc-publisher details { border: 1px solid #e3dce8; border-radius: 8px; background: #fbf9fc; }
.lc-publisher summary { padding: 10px 11px; color: #66536f; font-size: 0.76rem; font-weight: 750; cursor: pointer; }
.lc-publisher-form { display: grid; gap: 9px; padding: 0 11px 11px; }
.lc-publisher-form label { display: grid; gap: 4px; color: #645b68; font-size: 0.75rem; font-weight: 700; }
.lc-publisher-form input, .lc-publisher-form textarea { width: 100%; min-height: 35px; padding: 7px 8px; border: 1px solid #dcd6e0; border-radius: 6px; color: #302b34; background: #fff; font: inherit; font-size: 0.75rem; }
.lc-publisher-form textarea { min-height: 78px; resize: vertical; line-height: 1.5; }
.lc-publisher-form input:focus, .lc-publisher-form textarea:focus { outline: 3px solid rgba(121, 99, 147, 0.13); border-color: #a895b6; }
.lc-publisher-note { margin: 0; color: #8b828e; font-size: 0.75rem; }
.lc-publish { justify-self: end; padding: 7px 11px; border: 0; border-radius: 6px; color: #fff; background: #76598a; font-size: 0.75rem; font-weight: 750; }
.lc-publish:disabled { cursor: wait; opacity: 0.62; }

.lc-list { padding: 12px; }
.lc-list-head { display: flex; align-items: center; justify-content: space-between; padding: 3px 2px 10px; color: #635b68; font-size: 0.75rem; }
.lc-list-head span { color: #928a96; font-size: 0.75rem; }
.lc-item { display: grid; gap: 6px; margin-bottom: 8px; padding: 11px; border: 1px solid #e7e3e9; border-radius: 8px; background: #fff; }
.lc-item.is-unread { border-color: #d8cbe1; background: #fcf9fe; box-shadow: inset 3px 0 0 #8c6aa0; }
.lc-item-heading, .lc-item-meta, .lc-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lc-item-meta { justify-content: flex-start; color: #98909b; font-size: 0.75rem; }
.lc-kind { color: #745d80; font-weight: 750; }
.lc-priority { padding: 2px 6px; border-radius: 999px; color: #a34351; background: #ffedf0; font-size: 0.75rem; font-weight: 750; }
.lc-item-title { color: #454049; font-size: 0.78rem; }
.lc-item-body { margin: 0; color: #706a73; font-size: 0.75rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.lc-item-actions { justify-content: flex-end; padding-top: 4px; }
.lc-item-actions button { padding: 4px 7px; border: 0; border-radius: 5px; font-size: 0.75rem; font-weight: 700; }
.lc-read { color: #755784; background: #f1eaf5; }
.lc-source { color: #526985; background: #edf3f8; }
.lc-empty { margin: 0; padding: 28px 12px; border: 1px dashed #ddd8e0; border-radius: 8px; color: #908994; font-size: 0.75rem; text-align: center; }

@media (max-width: 700px) {
  .lc-drawer { width: 100vw; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lc-drawer * { scroll-behavior: auto; }
}
