* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:-apple-system,sans-serif; background:#f5f5f0; max-width:800px; margin:0 auto; padding:20px; }
.header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.header h1 { font-size:20px; }
.header a { color:#386641; text-decoration:none; font-size:14px; }
.card { background:#fff; border-radius:12px; padding:20px; margin-bottom:16px; }
.field { margin-bottom:16px; }
.field label { display:block; margin-bottom:6px; font-size:14px; color:#333; font-weight:600; }
.field textarea { width:100%; height:150px; border:1px solid #ddd; border-radius:8px; padding:12px; font-size:14px; resize:vertical; }
.field textarea:focus { outline:none; border-color:#386641; }
.field input { width:100%; height:44px; border:1px solid #ddd; border-radius:8px; padding:0 12px; font-size:14px; }
.char-count { font-size:12px; color:#999; text-align:right; }
.btn { display:inline-block; padding:12px 24px; background:#386641; color:#fff; border:none; border-radius:8px; font-size:15px; cursor:pointer; }
.btn:disabled { background:#ccc; }
.btn:hover { background:#2d5234; }
.section-title { font-size:16px; font-weight:700; margin-bottom:12px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; }
.section-title .arrow { font-size:14px; color:#999; }
.fb-item { padding:16px; border-bottom:1px solid #f0f0ec; }
.fb-item:last-child { border-bottom:none; }
.fb-content { font-size:14px; color:#333; line-height:1.6; }
.fb-meta { display:flex; justify-content:space-between; margin-top:8px; font-size:12px; }
.fb-time { color:#999; }
.fb-status { padding:2px 8px; border-radius:10px; font-size:12px; }
.status-done { background:#d4edda; color:#155724; }
.status-pending { background:#fff3cd; color:#856404; }
.fb-reply { margin-top:12px; padding:12px; background:#eef5e8; border-radius:8px; }
.fb-reply-label { font-size:13px; color:#386641; font-weight:600; }
.fb-reply-content { font-size:13px; color:#555; margin-top:4px; }
.empty { text-align:center; color:#999; padding:20px; }
.success { color:#386641; font-size:14px; margin-top:10px; display:none; }

/* 多轮对话样式 */
.fb-replies { margin-top:12px; border-top:1px solid #f0f0ec; padding-top:12px; }
.fb-reply-item { margin-bottom:10px; padding:10px 12px; border-radius:8px; font-size:13px; }
.fb-reply-admin { background:#eef5e8; margin-right:20%; }
.fb-reply-self { background:#e8f0fe; margin-left:20%; text-align:right; }
.fb-reply-sender { font-weight:600; color:#386641; margin-bottom:4px; font-size:12px; }
.fb-reply-self .fb-reply-sender { color:#1a73e8; }
.fb-reply-content { color:#333; line-height:1.5; white-space:pre-wrap; word-break:break-word; }
.fb-reply-time { font-size:11px; color:#999; margin-top:4px; }
.fb-reply-input-area { display:flex; gap:8px; margin-top:12px; align-items:flex-end; }
.fb-reply-textarea { flex:1; height:60px; border:1px solid #ddd; border-radius:8px; padding:8px 10px; font-size:13px; resize:none; }
.fb-reply-textarea:focus { outline:none; border-color:#386641; }
.fb-reply-btn { padding:8px 16px; font-size:13px; white-space:nowrap; }
