/* «Відповіді» (2026-10-25): the conversations list reuses the table workbench (table.css); bubbles and the
   reply-type chip live in styles.css. Only what is specific to this page is here. */
.toolbar .chips + .chips { border-left: 1px solid var(--line); padding-left: 10px; }
.check.small { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); margin: 0; }
.check.small input { width: auto; margin: 0; }

table.replies-tbl tbody tr.unread td { font-weight: 600; }
table.replies-tbl tbody tr.unread td .sub { font-weight: 400; }
table.replies-tbl tbody td:first-child { box-shadow: none; text-align: center; padding: 0; }
table.replies-tbl tbody tr.sel td:first-child, table.replies-tbl tbody tr.cur td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
table.replies-tbl td.them { color: var(--accent); }
table.replies-tbl td.me { color: var(--ink-2); }
.udot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.pane .ctl { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; font-size: 14px; }
.pane .ctl label { display: inline-flex; align-items: center; gap: 6px; }
.pane .ctl select, .pane .ctl input { width: auto; max-width: 100%; min-width: 0; padding: 5px 8px; font-size: 14px; }
.pane .ctl .attach select { flex: 1 1 180px; text-overflow: ellipsis; }
.pane .ctl .attach { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pane .ctl .attach-id { width: 84px; }
.pane .ctl .ctl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pane .summary { margin: 0 0 12px; padding: 8px 10px; border-radius: var(--radius); background: var(--page); color: var(--ink-2); font-size: 14px; }
.pane .convo { padding-bottom: 6px; }

/* phones: the conversation takes the whole screen; ← goes back to the list */
@media (max-width: 719px) {
  body.replies.pane-open .pane {
    display: block !important; position: fixed; inset: 0; z-index: 5; max-height: none; top: 0;
    border: 0; border-radius: 0; padding: 12px 12px 24px;
  }
  body.replies.pane-open { overflow: hidden; }
  /* phone columns: dot, source, company — title (takes the rest), type, when; recruiter / last / application go */
  table.replies-tbl col:nth-child(4), table.replies-tbl th:nth-child(4), table.replies-tbl td:nth-child(4),
  table.replies-tbl col:nth-child(6), table.replies-tbl th:nth-child(6), table.replies-tbl td:nth-child(6),
  table.replies-tbl col:nth-child(8), table.replies-tbl th:nth-child(8), table.replies-tbl td:nth-child(8) { display: none; }
  table.replies-tbl col:nth-child(1) { width: 20px !important; }
  table.replies-tbl col:nth-child(2) { width: 66px !important; }
  table.replies-tbl col:nth-child(5) { width: 108px !important; }
  table.replies-tbl col:nth-child(7) { width: 50px !important; }
  .toolbar .chips + .chips { border-left: 0; padding-left: 0; }
}
