* { box-sizing: border-box; }
body {
  margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0f1115; color: #e6e6e6;
}
header {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; background: #161922; border-bottom: 1px solid #232735;
}
.logo { font-weight: 700; letter-spacing: .3px; }
.status { color: #8a90a2; font-size: 13px; }

#board { display: flex; gap: 12px; padding: 16px; overflow-x: auto; align-items: flex-start; }
.col {
  flex: 0 0 240px; background: #161922; border: 1px solid #232735; border-radius: 10px;
  padding: 10px; min-height: 120px;
}
.col h2 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; color: #8a90a2; letter-spacing: .5px; }
.cards { display: flex; flex-direction: column; gap: 8px; min-height: 40px; }

.card {
  background: #1d2230; border: 1px solid #2b3142; border-radius: 8px; padding: 10px;
  cursor: pointer; font-size: 14px; transition: border-color .15s;
}
.card:hover { border-color: #3d63ff; }
.card.hot { border-left: 3px solid #ff5252; }
.card b { color: #fff; }
.card .verdict { margin-top: 6px; font-size: 12px; color: #8a90a2; }

#panel {
  position: fixed; top: 0; right: -460px; width: 440px; height: 100%;
  background: #161922; border-left: 1px solid #232735; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; transition: right .2s; overflow-y: auto;
}
#panel.open { right: 0; }
#panel .close { align-self: flex-end; background: none; border: none; color: #8a90a2; font-size: 18px; cursor: pointer; }
#panel .head { font-size: 15px; font-weight: 600; }
#panel .enrich { display: flex; flex-direction: column; gap: 4px; }
.field { display: flex; gap: 8px; font-size: 13px; line-height: 1.35; }
.field-label { flex: 0 0 130px; color: #8a90a2; }
.field-value { flex: 1; color: #e6e6e6; word-break: break-word; }

.verdict-row { display: flex; gap: 6px; }
.verdict-btn, .send, .tpl {
  background: #232a3a; border: 1px solid #2b3142; color: #e6e6e6; border-radius: 6px;
  padding: 7px 10px; cursor: pointer; font-size: 13px;
}
.verdict-btn:hover, .send:hover, .tpl:hover { border-color: #3d63ff; }

.dlg-title { margin: 6px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #8a90a2; border-top: 1px solid #232735; padding-top: 10px; }
.dialog { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; min-height: 140px; padding: 4px 0; }
.dlg-empty { color: #6a7080; font-size: 12px; font-style: italic; }
.msg { max-width: 80%; padding: 8px 10px; border-radius: 10px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.msg.in { align-self: flex-start; background: #232a3a; }
.msg.out { align-self: flex-end; background: #234; }

.templates { display: flex; flex-wrap: wrap; gap: 6px; }
.reply { display: flex; gap: 8px; }
.reply textarea { flex: 1; background: #0f1115; color: #e6e6e6; border: 1px solid #2b3142; border-radius: 6px; padding: 8px; resize: vertical; }
