/* ============ 待确认任务 Inbox ============ */
.inbox-page { max-width: 1080px; }
.inbox-list { display: flex; flex-direction: column; gap: 12px; }
.draft-card {
  background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 16px 18px;
  box-shadow: var(--shadow-xs); transition: box-shadow .18s, border-color .18s; position: relative;
}
.draft-card:hover { box-shadow: var(--shadow-md); border-color: #D7E3F6; }
.draft-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.draft-head { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.draft-title { font-size: 15px; font-weight: 650; color: var(--ink); letter-spacing: -.2px; }
.draft-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 5px; font-size: 11px; color: var(--ink-4); }
.draft-meta .icon { color: var(--ink-4); }
.draft-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.draft-confidence { font-size: 10.5px; color: var(--ink-3); background: #F6F8FC; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 2px 8px; white-space: nowrap; }
.draft-raw {
  margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--brand-200, #C9DAFF); background: #F8FAFE;
  border-radius: 0 7px 7px 0; font-size: 12px; color: var(--ink-2); line-height: 1.7; white-space: pre-wrap; word-break: break-word;
}
.draft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; margin-top: 12px; }
.draft-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.draft-field dt { font-size: 10.5px; color: var(--ink-4); }
.draft-field dd { margin: 0; font-size: 12.5px; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft-warns { margin-top: 10px; }
.draft-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.draft-actions .draft-source { margin-right: auto; font-size: 10.5px; color: var(--ink-4); display: inline-flex; align-items: center; gap: 4px; }
.inbox-empty { background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.inbox-empty .empty-state { padding: 64px 24px; }
.inbox-hero {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px;
  background: linear-gradient(92deg, #F0F5FF, #FBFCFF); border: 1px solid var(--brand-100); border-radius: 10px;
}
.inbox-hero-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--brand-gradient); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow-brand); }
.inbox-hero b { display: block; font-size: 13px; font-weight: 600; color: var(--brand-700); }
.inbox-hero p { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.55; }
.inbox-hero .btn { margin-left: auto; flex: none; }
@media (max-width: 1080px) { .draft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .draft-head { flex-direction: column; }
  .draft-grid { grid-template-columns: 1fr 1fr; }
  .inbox-hero { align-items: flex-start; flex-wrap: wrap; }
  .inbox-hero .btn { margin-left: 50px; }
}
