.manual-post-page { max-width: 1180px; margin: 0 auto; }
.manual-post-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 14px; }
.manual-post-intro h2 { margin: 0 0 5px; }
.manual-post-intro p { margin: 0; }
.manual-post-editor { border: 1px solid #dbe1ea; border-radius: 16px; background: #fff; padding: 16px; }
.manual-post-page form { display: grid; gap: 14px; }
.manual-post-page textarea { width: 100%; min-height: 180px; resize: vertical; font: inherit; line-height: 1.7; padding: 14px; border: 1px solid #dbe1ea; border-radius: 12px; box-sizing: border-box; }
.manual-emojis { display: flex; flex-wrap: wrap; gap: 8px; }
.manual-emojis .btn { width: auto; min-width: 40px; padding: 8px; }
.manual-post-page .manual-emojis, .manual-post-page .manual-more-emojis { display: none; }
.manual-emoji-trigger { width: fit-content; }
.manual-emoji-popover { position: fixed; z-index: 1000; width: min(430px, calc(100vw - 24px)); border: 1px solid #d6e0ed; border-radius: 16px; padding: 14px; background: #fff; box-shadow: 0 18px 42px #10233c33; }
.manual-emoji-popover-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.manual-emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.manual-emoji-grid button { border: 1px solid var(--border, #d9e1ec); background: #fff; border-radius: 9px; padding: 8px 2px; font-size: 21px; cursor: pointer; }
.manual-emoji-grid button:hover { background: #eef5ff; border-color: #8ab6eb; }
.manual-message-preview { overflow: hidden; border: 1px solid #dce8dc; border-radius: 14px; background: #f7fbf7; }
.manual-preview-label { padding: 9px 13px; border-bottom: 1px solid #dce8dc; background: #fff; color: #58705a; font-size: 12px; font-weight: 800; }
.manual-preview-chat { min-height: 116px; padding: 18px; background-color: #e8eee6; background-image: radial-gradient(#d2ddd080 1px, transparent 1px); background-size: 14px 14px; }
.manual-preview-bubble { position: relative; max-width: min(100%, 620px); margin-inline-start: auto; padding: 9px 12px 21px; border-radius: 10px 2px 10px 10px; background: #dcf8c6; color: #172b1a; box-shadow: 0 1px 1px #0002; line-height: 1.6; white-space: pre-wrap; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.manual-preview-bubble img { display: block; width: 100%; max-height: 360px; margin-bottom: 8px; object-fit: contain; border-radius: 7px; background: #cbd5d0; }
.manual-preview-bubble img[hidden] { display: none; }
.manual-preview-bubble time { position: absolute; bottom: 4px; inset-inline-end: 9px; color: #66815f; font-size: 10px; white-space: nowrap; }
#manualPreviewText, .manual-history-text { white-space: pre-wrap; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.manual-post-page fieldset { border: 1px solid #dbe1ea; border-radius: 12px; padding: 14px; max-height: 300px; overflow: auto; }
.manual-group { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.manual-group input { width: auto; }
.manual-history { border: 1px solid #dbe1ea; padding: 16px; border-radius: 12px; margin-top: 14px; }
.manual-history li { padding: 4px 0; }
.manual-queue-section { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #dbe1ea; }
.manual-queue-card { border: 1px solid #dbe1ea; border-radius: 14px; padding: 18px; background: #fff; margin: 12px 0; }
.manual-queue-next { border: 2px solid #818cf8; background: #eef2ff; }
.manual-queue-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.manual-queue-title time { direction: ltr; font-weight: 600; }
.manual-queue-list { max-height: 620px; overflow-y: auto; padding: 2px; }
.manual-queue-card li { padding: 6px 0; overflow-wrap: anywhere; }
.manual-queue-card small { display: inline-block; color: #475569; margin-inline-start: 8px; }
.manual-queue-empty { padding: 24px; background: #f8fafc; border-radius: 12px; text-align: center; }
