/* CXone Mpower — agent workspace UI kit styles. Depends on ../../colors_and_type.css */

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--fg1);
  -webkit-font-smoothing: antialiased;
}
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

/* ---------- App shell ---------- */
.app {
  display: grid;
  grid-template-columns: 72px 1fr;
  height: 100vh;
  min-width: 1080px;
  overflow: hidden;
}

/* ---------- Left rail (charcoal) ---------- */
.rail {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 6px;
}
.rail .brand {
  width: 44px; height: 44px; border-radius: 13px;
  background-image: var(--grad-avatar);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.rail .brand svg { width: 60%; filter: brightness(0) invert(1); }
.rail-btn {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer; border: none; background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
}
.rail-btn .material-symbols-rounded { font-size: 25px; }
.rail-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.rail-btn.active { background: var(--nice-blue); color: #fff; }
.rail .spacer { flex: 1; }
.rail .me {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--electric-indigo); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 14px;
  margin-top: 6px;
}

/* ---------- Main column ---------- */
.main { display: flex; flex-direction: column; min-width: 0; }

/* Top bar */
.topbar {
  height: 64px; flex: none;
  background: #fff;
  border-bottom: 1px solid var(--divider);
  display: flex; align-items: center; gap: 18px;
  padding: 0 24px;
}
.topbar .title { font-size: 19px; font-weight: var(--fw-semibold); letter-spacing: var(--track-tight); }
.topbar .crumb { color: var(--fg3); font-weight: 300; }
.search {
  margin-left: auto;
  display: flex; align-items: center; gap: 9px;
  background: var(--warm-white); border-radius: var(--r-pill);
  padding: 0 16px; height: 40px; width: 280px;
  border: 1.5px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.search:focus-within { border-color: var(--nice-blue); background: #fff; }
.search .material-symbols-rounded { font-size: 20px; color: var(--fg3); }
.search input { border: none; outline: none; background: transparent; font: inherit; font-size: 14px; flex: 1; color: var(--fg1); }
.status-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,226,160,0.14); color: #06794f;
  border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 500;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #00c98c; }

/* Work area: 3 panes */
.work { flex: 1; display: grid; grid-template-columns: 320px minmax(440px, 1fr) 348px; min-height: 0; }

/* Queue pane */
.queue { background: #fff; border-right: 1px solid var(--divider); display: flex; flex-direction: column; min-height: 0; }
.queue-head { padding: 18px 20px 12px; display: flex; align-items: center; justify-content: space-between; }
.queue-head h3 { margin: 0; font-size: 16px; font-weight: var(--fw-semibold); letter-spacing: var(--track-tight); }
.queue-count { background: var(--nice-blue); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 9px; }
.queue-tabs { display: flex; gap: 6px; padding: 0 16px 8px; }
.qtab { font-size: 13px; font-weight: 500; color: var(--fg3); padding: 7px 12px; border-radius: 999px; cursor: pointer; border: none; background: transparent; }
.qtab.active { background: var(--warm-white); color: var(--fg1); }
.queue-list { overflow-y: auto; padding: 6px 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.iitem {
  display: flex; gap: 12px; padding: 13px 14px; border-radius: var(--r-sm);
  cursor: pointer; border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.iitem:hover { background: var(--warm-white); }
.iitem.active { background: rgba(54,148,252,0.07); border-color: rgba(54,148,252,0.35); }
.iitem .av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; }
.iitem .body { flex: 1; min-width: 0; }
.iitem .name { font-size: 14px; font-weight: 500; letter-spacing: var(--track-tight); display: flex; align-items: center; gap: 7px; }
.iitem .chan { color: var(--fg3); display: inline-flex; align-items: center; }
.iitem .prev { font-size: 12.5px; color: var(--fg3); font-weight: 300; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iitem .time { font-size: 11px; color: var(--fg3); flex: none; }
.iitem .unread { width: 8px; height: 8px; border-radius: 50%; background: var(--nice-blue); }

/* Conversation pane */
.convo { display: flex; flex-direction: column; min-width: 0; background: var(--warm-white); }
.convo-head { background: #fff; border-bottom: 1px solid var(--divider); padding: 14px 22px; display: flex; align-items: center; gap: 14px; flex: none; }
.convo-head .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; }
.convo-head .who { font-size: 16px; font-weight: var(--fw-semibold); letter-spacing: var(--track-tight); }
.convo-head .sub { font-size: 12.5px; color: var(--fg3); font-weight: 300; }
.convo-head .actions { margin-left: auto; display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: none; background: var(--warm-white); color: var(--fg2); display: grid; place-items: center; cursor: pointer; transition: background var(--dur) var(--ease); }
.icon-btn:hover { background: #e9e7e1; }

.thread { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.daystamp { align-self: center; font-size: 11.5px; color: var(--fg3); background: rgba(33,33,43,0.05); padding: 4px 12px; border-radius: 999px; }
.msg { max-width: 74%; }
.msg.in { align-self: flex-start; }
.msg.out { align-self: flex-end; }
.msg .meta { font-size: 11px; color: var(--fg3); margin: 0 6px 4px; }
.msg.out .meta { text-align: right; }
.bubble { padding: 12px 18px; font-size: 14.5px; line-height: 1.45; letter-spacing: var(--track-tight); border-radius: 22px; }
.msg.in .bubble { background: #fff; color: var(--fg1); border-bottom-left-radius: 7px; box-shadow: var(--shadow-xs); }
.msg.out .bubble { background: var(--nice-blue); color: #fff; border-bottom-right-radius: 7px; }
.msg.out.ai .bubble { background-image: var(--grad-brand); }

/* Composer */
.composer { flex: none; background: #fff; border-top: 1px solid var(--divider); padding: 14px 18px; }
.suggest-row { display: flex; gap: 8px; margin-bottom: 11px; flex-wrap: wrap; }
.suggest {
  display: flex; align-items: center; gap: 7px;
  background: rgba(97,0,255,0.06); border: 1px solid rgba(97,0,255,0.18);
  color: var(--electric-indigo); font-size: 12.5px; font-weight: 500;
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  transition: background var(--dur) var(--ease); letter-spacing: var(--track-tight);
}
.suggest:hover { background: rgba(97,0,255,0.12); }
.suggest .material-symbols-rounded { font-size: 16px; }
.composer-box { display: flex; align-items: flex-end; gap: 10px; background: var(--warm-white); border-radius: var(--r-md); padding: 8px 8px 8px 16px; border: 1.5px solid transparent; transition: border-color var(--dur) var(--ease); }
.composer-box:focus-within { border-color: var(--nice-blue); background: #fff; }
.composer-box textarea { flex: 1; border: none; outline: none; background: transparent; font: inherit; font-size: 14.5px; resize: none; line-height: 1.45; color: var(--fg1); padding: 8px 0; max-height: 120px; }
.send { width: 44px; height: 44px; border-radius: 14px; border: none; background: var(--nice-blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; box-shadow: var(--shadow-blue); transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease); }
.send:hover { background: #1f86fb; }
.send:active { transform: scale(0.94); }
.send:disabled { background: #c8c8cf; box-shadow: none; cursor: default; }

/* Copilot pane */
.copilot { background: #fff; border-left: 1px solid var(--divider); display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.cp-hero { padding: 18px 20px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--divider); }
.cp-hero .badge { width: 36px; height: 36px; border-radius: 11px; background-image: var(--grad-avatar); display: grid; place-items: center; color: #fff; }
.cp-hero h3 { margin: 0; font-size: 15px; font-weight: var(--fw-semibold); letter-spacing: var(--track-tight); }
.cp-hero p { margin: 1px 0 0; font-size: 11.5px; color: var(--fg3); font-weight: 300; }
.cp-sec { padding: 16px 20px; border-bottom: 1px solid var(--divider); }
.cp-sec .lab { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); margin-bottom: 12px; }
.sentiment { display: flex; align-items: center; gap: 12px; }
.sent-meter { flex: 1; height: 8px; border-radius: 999px; background: var(--warm-white); overflow: hidden; }
.sent-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg,#00e2a0,#36ead0); }
.sent-val { font-size: 13px; font-weight: 600; color: #06794f; }
.ctx-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; }
.ctx-row .k { color: var(--fg3); font-weight: 300; }
.ctx-row .v { color: var(--fg1); font-weight: 500; }
.kb-card { display: flex; gap: 11px; padding: 12px; border-radius: var(--r-sm); background: var(--warm-white); cursor: pointer; margin-bottom: 8px; transition: background var(--dur) var(--ease); }
.kb-card:hover { background: #e9e7e1; }
.kb-card .material-symbols-rounded { color: var(--nice-blue); font-size: 22px; }
.kb-card .kt { font-size: 13.5px; font-weight: 500; letter-spacing: var(--track-tight); }
.kb-card .kd { font-size: 11.5px; color: var(--fg3); font-weight: 300; margin-top: 2px; }

/* Resolved overlay */
.resolved { position: absolute; inset: 0; background: rgba(242,240,235,0.94); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 20; }
.resolved-card { text-align: center; position: relative; z-index: 21; animation: pop var(--dur-slow) var(--ease-out); }
.resolved-card .av { width: 92px; height: 92px; margin: 0 auto 18px; }
.resolved-card h2 { margin: 0; font-size: 30px; font-weight: var(--fw-semibold); letter-spacing: var(--track-tight); }
.resolved-card p { margin: 8px 0 22px; color: var(--fg2); font-weight: 300; }
@keyframes pop { from { transform: translateY(16px) scale(0.97);} to { transform: none; } }

/* convo is positioned for the overlay */
.convo { position: relative; }

/* ============================================================
   Assurant Coaching Copilot — additions on top of the CXone kit
   ============================================================ */

/* Wider copilot column to hold the scorecard */
.work { grid-template-columns: 312px minmax(420px, 1fr) 384px; }

/* ---------- Top-bar demo controls ---------- */
.demo-controls { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.seg { display: flex; gap: 3px; background: var(--warm-white); border-radius: var(--r-pill); padding: 3px; }
.seg-btn { border: none; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--fg3); padding: 7px 15px; border-radius: var(--r-pill); letter-spacing: var(--track-tight);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.seg-btn.active { background: #fff; color: var(--fg1); box-shadow: var(--shadow-xs); }
.mode-toggle { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border-strong);
  background: #fff; color: var(--fg2); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  padding: 7px 14px; border-radius: var(--r-pill); transition: all var(--dur) var(--ease); }
.mode-toggle.on { border-color: transparent; background: rgba(54,148,252,0.12); color: var(--nice-blue); }
.mode-toggle .mdot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg3); }
.mode-toggle.on .mdot { background: var(--nice-blue); }
.mode-toggle .mdot.busy { animation: blink 0.9s var(--ease) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Queue: live badge ---------- */
.live-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: #06794f; background: rgba(0,226,160,0.16);
  padding: 3px 8px; border-radius: 999px; }
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #00c98c; animation: blink 1.1s var(--ease) infinite; }

/* ---------- Empty thread ---------- */
.empty-thread { margin: auto; max-width: 340px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--fg3); }
.empty-thread p { font-size: 13.5px; color: var(--fg2); font-weight: 300; line-height: 1.5; }

/* ---------- Playback bar ---------- */
.composer.playback { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.composer.playback .play-next { flex: 1; justify-content: center; }
.nice-btn:disabled { background: #c8c8cf; box-shadow: none; cursor: default; color: #fff; }

/* ============================================================
   Coaching Copilot panel
   ============================================================ */
.coaching-panel .cp-hero { gap: 11px; }
.band-pill { margin-left: auto; color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap; }

.cp-error { display: flex; align-items: flex-start; gap: 9px; margin: 14px 16px 0; padding: 11px 13px;
  background: rgba(255,91,138,0.10); color: #b3214f; border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.4; }
.cp-error svg { flex: none; margin-top: 1px; }

/* Empty / listening state */
.cp-empty { padding: 48px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cp-empty .pulse { width: 64px; height: 64px; border-radius: 50%; background: rgba(54,148,252,0.10);
  display: grid; place-items: center; margin-bottom: 8px; animation: pulsering 1.8s var(--ease) infinite; }
@keyframes pulsering { 0%,100% { box-shadow: 0 0 0 0 rgba(54,148,252,0.18); } 50% { box-shadow: 0 0 0 12px rgba(54,148,252,0); } }
.cp-empty p { font-size: 15px; font-weight: 500; color: var(--fg1); margin: 0; }
.cp-empty span { font-size: 12.5px; color: var(--fg3); font-weight: 300; max-width: 240px; }

/* Gauge */
.gauge-sec { display: flex; justify-content: center; padding: 22px 20px 20px; }
.gauge { position: relative; width: 158px; height: 158px; }
.gauge-track { stroke: rgba(33,33,43,0.08); }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-num { font-size: 46px; font-weight: var(--fw-semibold); letter-spacing: var(--track-x-tight); line-height: 1; color: var(--fg1); }
.gauge-grade { font-size: 12.5px; font-weight: 600; margin-top: 4px; letter-spacing: var(--track-tight); }

/* Percentile + benchmark */
.pct-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.pct-num { font-size: 32px; font-weight: var(--fw-semibold); letter-spacing: var(--track-tight); color: var(--nice-blue); line-height: 1; }
.pct-sub { font-size: 11.5px; color: var(--fg3); font-weight: 300; line-height: 1.25; }
.bench-track { position: relative; height: 8px; border-radius: 999px; background: var(--warm-white); margin: 0 4px 30px; }
.bench-fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; background-image: var(--grad-cool); transition: width 0.7s var(--ease); }
.bench-tick { position: absolute; top: -3px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.bench-tick .tk-line { width: 2px; height: 14px; background: rgba(33,33,43,0.28); border-radius: 2px; }
.bench-tick .tk-lab { position: absolute; top: 16px; font-size: 10px; color: var(--fg3); white-space: nowrap; }
.bench-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 4px solid var(--nice-blue); transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); transition: left 0.7s var(--ease); }
.bench-cap { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--fg3); font-weight: 300; }

/* Rubric */
.rub { margin-bottom: 14px; }
.rub:last-child { margin-bottom: 0; }
.rub-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rub-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--fg1); letter-spacing: var(--track-tight); }
.rub-right { display: inline-flex; align-items: center; gap: 9px; }
.rub-weight { font-size: 10.5px; color: var(--fg3); background: var(--warm-white); padding: 2px 7px; border-radius: 999px; font-weight: 500; }
.rub-score { font-size: 14px; font-weight: 600; min-width: 22px; text-align: right; }
.rub-bar { height: 7px; border-radius: 999px; background: var(--warm-white); overflow: hidden; }
.rub-fill { height: 100%; border-radius: 999px; transition: width 0.7s var(--ease), background 0.4s var(--ease); }
.rub-note { font-size: 11px; color: var(--fg3); font-weight: 300; line-height: 1.4; margin-top: 5px; }

/* Coaching feed */
.nudge { display: flex; gap: 10px; padding: 12px 13px; background: var(--warm-white); border-radius: var(--r-sm);
  border-left: 3px solid var(--nice-blue); margin-bottom: 9px; }
.nudge-text { font-size: 12.5px; line-height: 1.45; color: var(--fg1); font-weight: 400; }
.nba-card { display: flex; gap: 11px; padding: 13px; border-radius: var(--r-sm); background: rgba(54,148,252,0.08); margin-bottom: 9px; }
.nba-lab { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nice-blue); margin-bottom: 3px; }
.nba-text { font-size: 12.5px; line-height: 1.45; color: var(--fg1); font-weight: 400; }

/* Summary */
.summary-sec { border-bottom: none; }
.sum-row { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--fg1); font-weight: 400; padding: 6px 0; line-height: 1.4; }
.sum-row svg { margin-top: 1px; }

/* ---------- "Everything is Cognigy" indicators ---------- */
.cognigy-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500;
  color: var(--electric-indigo); background: rgba(97,0,255,0.08); padding: 7px 13px; border-radius: var(--r-pill); white-space: nowrap; }
.cognigy-badge .mdot { width: 7px; height: 7px; border-radius: 50%; background: var(--electric-indigo); }
.cognigy-badge.busy .mdot { animation: blink 0.9s var(--ease) infinite; }

.cp-scoring { display: flex; align-items: center; gap: 9px; margin: 14px 16px 0; padding: 10px 13px;
  background: rgba(97,0,255,0.07); color: var(--electric-indigo); border-radius: var(--r-sm); font-size: 12.5px; font-weight: 500; }

.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid rgba(97,0,255,0.25);
  border-top-color: var(--electric-indigo); animation: spin 0.7s linear infinite; flex: none; }
.spinner--lg { width: 26px; height: 26px; border-width: 3px; border-color: rgba(54,148,252,0.25); border-top-color: var(--nice-blue); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Non-active queue items are context only (only the live interaction is interactive) */
.iitem.inert { cursor: default; }
.iitem.inert:hover { background: transparent; border-color: transparent; }

/* ---------- Fix: constrain panes to viewport height so each scrolls internally ----------
   Without an explicit row track, the grid row auto-sizes to the TALLEST pane (the coaching
   scorecard), growing past the viewport and pushing the composer off-screen. Pin the row to
   the available height and give the flex panes min-height:0 so they scroll instead of grow. */
.work { grid-template-rows: minmax(0, 1fr); }
.convo { min-height: 0; }
.thread { min-height: 0; }

/* The constraint must start at the top of the chain: .app's implicit grid row also
   auto-grows to content. Pin it to the viewport and let .main flex-shrink. */
.app { grid-template-rows: minmax(0, 1fr); }
.main { min-height: 0; }

/* Send button: clear "working" state while a Cognigy turn is in flight */
.send.sending { background: var(--nice-blue); box-shadow: none; cursor: wait; }
.spinner--send { width: 18px; height: 18px; border-width: 2.5px; border-color: rgba(255,255,255,0.45); border-top-color: #fff; }

/* ============================================================
   Coaching panel — tabbed layout (Scorecard / Coaching)
   ============================================================ */
/* hero + tabs stay fixed; only the tab content scrolls */
.coaching-panel { overflow: hidden; }
.cp-tabcontent { flex: 1; min-height: 0; overflow-y: auto; }

.cp-tabs { display: flex; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--divider); flex: none; }
.cp-tab { flex: 1; border: none; background: transparent; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--fg3); padding: 9px 0; border-radius: var(--r-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.cp-tab:hover { color: var(--fg1); }
.cp-tab.active { background: var(--warm-white); color: var(--fg1); }
.cp-tab-badge { background: var(--coral); color: #fff; font-size: 10.5px; font-weight: 600;
  min-width: 17px; height: 17px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 5px; }

/* gauge + trend */
.gauge-sec { flex-direction: column; align-items: center; gap: 10px; }
.gauge-trend { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.gauge-trend span { color: var(--fg3); font-weight: 400; font-size: 11.5px; }

/* customer sentiment banner */
.sentiment-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 10px; padding: 11px 14px; border-radius: var(--r-sm); background: var(--warm-white); border-left: 3px solid var(--fg3); }
.sent-cap { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); margin-bottom: 3px; }
.sent-emo { font-size: 15px; font-weight: 600; color: var(--fg1); letter-spacing: var(--track-tight); }
.sent-trend { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; text-transform: capitalize; }

/* top priority */
.top-priority { margin: 0; padding: 13px 14px; border-radius: var(--r-sm); background: rgba(54,148,252,0.08); }
.tp-lab { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nice-blue); margin-bottom: 5px; }
.tp-text { font-size: 13px; line-height: 1.45; color: var(--fg1); font-weight: 500; letter-spacing: var(--track-tight); }

/* compliance checklist */
.flag-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; }
.flag-label { flex: 1; font-size: 12.5px; color: var(--fg1); letter-spacing: var(--track-tight); }
.flag-status { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* suggested-reply quote inside coaching feed items */
.nudge-quote, .nba-quote { font-size: 12px; line-height: 1.4; color: var(--fg2); font-style: italic;
  margin-top: 7px; padding-left: 9px; border-left: 2px solid var(--border-strong); }
