/* Task 3527: the test inbox, a two-pane mail client. */
  .ibx { border: 1px solid var(--border); border-radius: 12px; background: var(--surface, #fff); overflow: hidden; }
  .ibx-head { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .ibx-title { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .ibx-count:not(:empty) { font-size: 10px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 7px; }
  .ibx-sub { font-size: 11px; color: var(--text-subtle); margin-top: 2px; }
  .ibx-head .btn { margin-left: auto; }
  .ibx-body { display: grid; grid-template-columns: minmax(260px, 38%) 1fr; height: 560px; }
  .ibx-list { border-right: 1px solid var(--border); overflow-y: auto; }
  .ibx-row { display: flex; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--border); background: transparent; cursor: pointer; position: relative; }
  .ibx-row:hover { background: var(--bg); }
  .ibx-row.is-open { background: var(--bg); box-shadow: inset 3px 0 0 var(--accent); }
  .ibx-row.is-unread::before { content: ''; position: absolute; left: 5px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .ibx-avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); }
  .ibx-row-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
  .ibx-row-top { display: flex; align-items: baseline; gap: 8px; }
  .ibx-from { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ibx-when { margin-left: auto; font-size: 11px; color: var(--text-subtle); flex-shrink: 0; }
  .ibx-subject { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ibx-row.is-unread .ibx-from, .ibx-row.is-unread .ibx-subject { font-weight: 600; color: inherit; }
  .ibx-row-bottom { display: flex; align-items: center; gap: 6px; min-width: 0; }
  .ibx-alias { flex-shrink: 0; font-family: var(--font-mono, monospace); font-size: 10px; color: var(--accent); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; }
  .ibx-preview { font-size: 11px; color: var(--text-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ibx-reader { min-width: 0; display: flex; flex-direction: column; }
  .ibx-empty, .ibx-none { margin: auto; text-align: center; color: var(--text-subtle); font-size: 12px; padding: 24px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
  .ibx-empty-icon { font-size: 28px; opacity: 0.5; }
  .ibx-msg { display: flex; flex-direction: column; height: 100%; padding: 16px 18px; gap: 10px; min-height: 0; }
  .ibx-msg-subject { font-size: 17px; font-weight: 600; }
  .ibx-msg-meta { display: flex; align-items: center; gap: 10px; }
  .ibx-msg-from { font-size: 12px; } .ibx-msg-from span { color: var(--text-subtle); }
  .ibx-msg-to { font-size: 11px; color: var(--text-subtle); }
  .ibx-msg-when { margin-left: auto; font-size: 11px; color: var(--text-subtle); white-space: nowrap; }
  .ibx-kept { font-size: 11px; color: var(--text-subtle); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; }
  .ibx-frame { flex: 1; min-height: 0; width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
  .ibx .hidden { display: none !important; }
  @media (max-width: 900px) { .ibx-body { grid-template-columns: 1fr; height: auto; } .ibx-list { border-right: 0; max-height: 320px; } .ibx-frame { min-height: 420px; } }