
:root {
  --nb-ic-bell: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%205.2V3.4'%2F%3E%3Cpath%20d%3D'M6.2%2016.4V11a5.8%205.8%200%200%201%2011.6%200v5.4l1.7%202.3H4.5z'%2F%3E%3Cpath%20d%3D'M9.9%2020.9a2.2%202.2%200%200%200%204.2%200'%2F%3E%3C%2Fsvg%3E");
  --nb-ic-hourglass: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6.5%203.5h11M6.5%2020.5h11'%2F%3E%3Cpath%20d%3D'M8%203.5v2.8a4%204%200%200%200%201.5%203.1L12%2011.5l2.5-2.1A4%204%200%200%200%2016%206.3V3.5'%2F%3E%3Cpath%20d%3D'M8%2020.5v-2.8a4%204%200%200%201%201.5-3.1l2.5-2.1%202.5%202.1a4%204%200%200%201%201.5%203.1v2.8'%2F%3E%3C%2Fsvg%3E");
  --nb-ic-calendarX: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'4'%20y%3D'5.5'%20width%3D'16'%20height%3D'14.5'%20rx%3D'3'%2F%3E%3Cpath%20d%3D'M4%2010h16'%2F%3E%3Cpath%20d%3D'M8.5%203.5v4M15.5%203.5v4'%2F%3E%3Cpath%20d%3D'm10%2013.2%204%204M14%2013.2l-4%204'%2F%3E%3C%2Fsvg%3E");
  --nb-ic-gauge: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4.2%2017.5a8.2%208.2%200%201%201%2015.6%200'%2F%3E%3Cpath%20d%3D'm12%2015.2%203.4-4.6'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'15.6'%20r%3D'1.3'%2F%3E%3C%2Fsvg%3E");
}
.chat-app-bar [data-icon="bell"] { --nb-ic: var(--nb-ic-bell); }
.chat-app-bar [data-icon="hourglass"] { --nb-ic: var(--nb-ic-hourglass); }
.chat-app-bar [data-icon="calendarX"] { --nb-ic: var(--nb-ic-calendarX); }
.chat-app-bar [data-icon="gauge"] { --nb-ic: var(--nb-ic-gauge); }

/* ---------- ปุ่มกระดิ่ง: อยู่นอก #nav-links จึงเห็นทั้งคอมและมือถือ / หน้าตาเดียวกับปุ่มเมนูบัญชี (⋯)
   แบบ B ไอคอนเงียบ (HEADER_ACTIONS_PLAN.md 2026-10-17): ไม่มีพื้น มีพื้นขาวกระจกตอนวางเมาส์/เปิดแผง ---------- */
.chat-app-bar .notification-bell { position: relative; flex: none; margin: 0 6px 0 auto; }
.chat-app-bar .notification-bell-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--site-muted);
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}
.chat-app-bar .notification-bell-toggle:hover,
.chat-app-bar .notification-bell-toggle:focus-visible,
.chat-app-bar .notification-bell-toggle.is-active {
  border-color: var(--chat-glass-edge);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--chat-glass-hi), 0 8px 20px -14px rgba(76, 52, 200, 0.5);
  color: var(--site-violet);
}
.chat-app-bar .notification-bell-toggle:focus-visible { outline: 2px solid rgba(106, 76, 245, 0.34); outline-offset: 2px; }
.chat-app-bar .notification-bell-icon {
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: var(--nb-ic-bell) center / contain no-repeat;
  mask: var(--nb-ic-bell) center / contain no-repeat;
}
/* จุดเรื่องใหม่: ไม่มีตัวเลข แยกจากจำนวนแชทยังไม่อ่าน
   วางให้เกาะไหล่ขวาบนของไอคอนกระดิ่ง (ทับเส้นเล็กน้อย ขอบขาวตัดเส้น) ไม่ใช่มุมปุ่ม
   2026-10-17: เคยใช้ตำแหน่งของป้ายตัวเลข 16px (top 3 / right 2) พอย่อเหลือ 8px จุดเลยลอยห่างกระดิ่ง
   ถ้าเปลี่ยนขนาดปุ่มหรือไอคอน ต้องคำนวณตำแหน่งนี้ใหม่ (NOTIFICATION_BELL_BUG_HISTORY.md) */
.chat-app-bar .notification-bell-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: #e11d48;
  box-shadow: 0 0 0 1.5px #fff;
  pointer-events: none;
}
.chat-app-bar .notification-bell-dot[hidden] { display: none; }

/* ---------- แผงรายการ: ขาวทึบ + ขอบไล่แสงแบบหน้าต่างประกาศ / ห้ามเบลอ ห้ามแอนิเมชันตอนเปิด (MODAL_PERFORMANCE) ---------- */
.chat-app-bar .notification-bell-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: -6px;
  z-index: 1010;
  width: 392px;
}
.chat-app-bar .notification-bell-panel.is-open { display: block; }
.chat-app-bar .notification-bell-card {
  --nb-hair: rgba(88, 66, 200, 0.09);
  --nb-new: #e11d48;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: min(640px, calc(var(--app-vh, 1dvh) * 100 - 76px));
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(165deg, #ffffff 0%, #fcfbff 55%, #f8f8ff 100%);
  box-shadow: 0 40px 90px -36px rgba(60, 40, 170, 0.55), 0 2px 8px rgba(30, 20, 80, 0.08);
  color: var(--site-ink);
  font-family: var(--site-font-body);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.chat-app-bar .notification-bell-card:focus { outline: none; }
.chat-app-bar .notification-bell-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(155deg, #fff 0%, rgba(255, 255, 255, 0.55) 22%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 214, 236, 0.7) 85%, rgba(190, 225, 255, 0.85) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.chat-app-bar .nb-svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-app-bar .nb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-app-bar .nb-mask {
  display: block;
  width: 21px;
  height: 21px;
  background-color: currentColor;
  -webkit-mask: var(--nb-ic) center / contain no-repeat;
  mask: var(--nb-ic) center / contain no-repeat;
}

/* หัวแผง: ใช้ div ไม่ใช้แท็ก header (กฎกลาง header {} ใน styles.css จะทับ) */
.chat-app-bar .nb-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 14px 10px 20px; border-bottom: 1px solid transparent; transition: border-color 0.16s ease; }
.chat-app-bar .notification-bell-card.is-scrolled .nb-head { border-bottom-color: var(--nb-hair); }
.chat-app-bar .nb-head-text { flex: 1; min-width: 0; }
.chat-app-bar .nb-title { margin: 0; color: var(--site-ink); font: 600 17px/1.35 var(--site-font-display); letter-spacing: 0; }
.chat-app-bar .nb-sub { margin: 1px 0 0; color: var(--site-muted); font-size: 12.5px; line-height: 1.4; }
.chat-app-bar .nb-close {
  display: none;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(88, 66, 200, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--site-muted);
  cursor: pointer;
}
.chat-app-bar .nb-close .nb-svg { width: 18px; height: 18px; }

/* รายการ: เลื่อนเฉพาะส่วนนี้ หัวและท้ายนิ่ง */
.chat-app-bar .nb-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 8px 8px; }
.chat-app-bar .nb-group + .nb-group { margin-top: 4px; }
.chat-app-bar .nb-group-label { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 8px 12px 6px; color: var(--site-faint); font: 600 12.5px/1.4 var(--site-font-body); }
.chat-app-bar .nb-group-hint { font-weight: 400; }
.chat-app-bar .nb-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.chat-app-bar .nb-item { margin: 0; padding: 0; }
.chat-app-bar .nb-item-btn {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 11px 28px 11px 10px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 140ms ease;
}
.chat-app-bar .nb-item.is-new .nb-item-btn { background: rgba(106, 76, 245, 0.065); }
.chat-app-bar .nb-item-btn:focus-visible { outline: 2px solid rgba(106, 76, 245, 0.34); outline-offset: -2px; }
.chat-app-bar .nb-item-icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--site-violet-soft);
  color: var(--site-violet);
}
.chat-app-bar .tone-amber .nb-item-icon { background: #fff2dc; color: var(--site-amber); }
.chat-app-bar .tone-danger .nb-item-icon { background: #ffe9ee; color: #d0213f; }
/* โลโก้แพลตฟอร์มต้องเป็น Font Awesome สีประจำแพลตฟอร์ม (FRONTEND_GOLDEN_RULES) + ป้าย ! บอกว่ามีปัญหา */
.chat-app-bar .nb-item-icon:is(.is-platform, .is-logo) { background: #fff; box-shadow: inset 0 0 0 1px var(--site-line); }
.chat-app-bar .nb-item-icon.is-platform > i { font-size: 20px; line-height: 1; }
.chat-app-bar .nb-item-icon.channel-line { color: #06c755; }
.chat-app-bar .nb-item-icon.channel-facebook { color: #0078ff; }
.chat-app-bar .nb-item-icon.is-logo img { display: block; width: 22px; height: 22px; }
.chat-app-bar .nb-item-flag {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
  font: 700 11px/1 var(--site-font-body);
}
.chat-app-bar .tone-amber .nb-item-flag { background: #e8890c; }
.chat-app-bar .nb-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-app-bar .nb-item-top { display: flex; align-items: baseline; gap: 10px; }
.chat-app-bar .nb-item-title { flex: 1; min-width: 0; color: var(--site-ink); font: 600 14.5px/1.4 var(--site-font-display); overflow-wrap: anywhere; }
.chat-app-bar .nb-item-time { flex: none; color: var(--site-faint); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.chat-app-bar .nb-item-text { margin-top: 2px; color: var(--site-muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-app-bar .nb-item-action { display: inline-flex; align-items: center; gap: 1px; align-self: flex-start; margin-top: 5px; color: var(--site-violet); font: 600 13px/1.3 var(--site-font-body); }
.chat-app-bar .nb-item-action .nb-svg { width: 15px; height: 15px; }
.chat-app-bar .nb-item-new { position: absolute; top: 18px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--nb-new); }

/* ไม่มีเรื่อง: การ์ดแบบเดียวกับสถานะว่างของรายชื่อแชท (แบบ A) */
.chat-app-bar .nb-empty { display: flex; flex-direction: column; align-items: center; padding: 22px 24px 32px; text-align: center; }
.chat-app-bar .nb-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 20, 80, 0.08), 0 4px 14px -4px rgba(40, 24, 120, 0.24);
  color: var(--site-violet);
}
.chat-app-bar .nb-empty-icon .nb-mask { width: 25px; height: 25px; }
.chat-app-bar .nb-empty-title { color: var(--site-ink); font: 600 15.5px/1.4 var(--site-font-display); }
.chat-app-bar .nb-empty-text { max-width: 260px; margin-top: 4px; color: var(--site-muted); font-size: 13px; line-height: 1.55; text-wrap: balance; }

/* ท้ายแผง: ทางไปตั้งค่า Telegram (เลือกว่าใครได้ข้อความเข้ามือถือ) */
.chat-app-bar .nb-foot { flex: none; padding: 6px 10px 10px; border-top: 1px solid var(--nb-hair); }
.chat-app-bar .nb-foot-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--site-muted);
  font: 500 13.5px/1.3 var(--site-font-body);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.chat-app-bar .nb-foot-link .fab { color: #229ed9; font-size: 15px; }
.chat-app-bar .nb-foot-link b { color: var(--site-violet); font-weight: 600; }
.chat-app-bar .nb-foot-link:focus-visible { outline: 2px solid rgba(106, 76, 245, 0.34); outline-offset: -2px; }

@media (hover: hover) {
  .chat-app-bar .nb-item-btn:hover { background: rgba(106, 76, 245, 0.05); }
  .chat-app-bar .nb-item.is-new .nb-item-btn:hover { background: rgba(106, 76, 245, 0.095); }
  .chat-app-bar .nb-close:hover { border-color: rgba(88, 66, 200, 0.24); background: #fff; color: var(--site-ink); }
  .chat-app-bar .nb-foot-link:hover { background: var(--site-violet-soft); }
}

/* ---------- มือถือ: กระดิ่งหน้าตาเดียวกับปุ่มสามขีด ---------- */
@media (max-width: 768px) {
  .chat-app-bar .logo-container { max-width: calc(100% - 100px); }
  .chat-app-bar .notification-bell { margin-right: 4px; }
  .chat-app-bar .notification-bell-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: var(--site-muted);
  }
  .chat-app-bar .notification-bell-toggle:hover,
  .chat-app-bar .notification-bell-toggle:focus-visible,
  .chat-app-bar .notification-bell-toggle.is-active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    color: var(--site-violet);
  }
  .chat-app-bar .notification-bell-icon { width: 22px; height: 22px; }
  .chat-app-bar .notification-bell-dot { top: 11px; right: 11px; }
  .chat-app-bar .nb-title { font-size: 18px; }
  .chat-app-bar .nb-item-title { font-size: 15px; }
  .chat-app-bar .nb-item-text { font-size: 14px; }
  .chat-app-bar .nb-item-action { font-size: 14px; }
}

/* ---------- จอเล็ก: แผ่นเลื่อนขึ้นจากล่าง แบบหน้าต่างประกาศ ---------- */
@media (max-width: 640px) {
  .chat-app-bar .notification-bell-panel {
    position: fixed;
    inset: 0;
    width: auto;
    padding: calc(28px + env(safe-area-inset-top, 0px)) 0 0;
    background: rgba(28, 20, 72, 0.36);
  }
  .chat-app-bar .notification-bell-panel.is-open { display: flex; align-items: flex-end; }
  .chat-app-bar .notification-bell-card { width: 100%; max-height: 100%; border-radius: 26px 26px 0 0; }
  .chat-app-bar .nb-head { padding: 18px 14px 10px 18px; }
  .chat-app-bar .nb-close { display: grid; }
  .chat-app-bar .nb-scroll { padding: 0 6px 6px; }
  .chat-app-bar .nb-foot { padding: 6px 10px calc(10px + var(--app-bottom-safe-area-effective, env(safe-area-inset-bottom, 0px))); }
  .chat-app-bar .nb-foot-link { min-height: 46px; }
}

.chat-app-bar .notification-bell[hidden] { display: none; }
/* สูงกว่าปุ่มลอย 1102–1600 แต่ต่ำกว่าหน้าต่างที่เริ่ม 10000; ปิดแล้วใช้ชั้นเดิม */
.chat-app-bar.is-notification-bell-open { z-index: 1700; }

.chat-app-bar [data-icon="slip"] { --nb-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%203.5h12v17l-2-1.4-2%201.4-2-1.4-2%201.4-2-1.4-2%201.4z'%2F%3E%3Cpath%20d%3D'M9%208.5h6M9%2012h6M9%2015.5h3.5'%2F%3E%3C%2Fsvg%3E"); }
.chat-app-bar [data-icon="shield"] { --nb-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%203.5%205%206.2v5.3c0%204.3%202.9%207.6%207%209%204.1-1.4%207-4.7%207-9V6.2z'%2F%3E%3Cpath%20d%3D'M12%208.5v4.2'%2F%3E%3Cpath%20d%3D'M12%2015.6v.1'%2F%3E%3C%2Fsvg%3E"); }
.chat-app-bar [data-icon="sendX"] { --nb-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M20.5%203.5%2010%2014'%2F%3E%3Cpath%20d%3D'M20.5%203.5%2014%2020.5l-4-6.5-6.5-4z'%2F%3E%3Cpath%20d%3D'm15.5%2015.5%204%204M19.5%2015.5l-4%204'%2F%3E%3C%2Fsvg%3E"); }
.chat-app-bar [data-icon="clockX"] { --nb-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'11'%20cy%3D'12'%20r%3D'7.5'%2F%3E%3Cpath%20d%3D'M11%208v4l2.6%201.8'%2F%3E%3Cpath%20d%3D'm17.5%2017.5%203.5%203.5M21%2017.5l-3.5%203.5'%2F%3E%3C%2Fsvg%3E"); }
.chat-app-bar [data-icon="spark"] { --nb-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%203.5c.6%203.8%202.7%205.9%206.5%206.5-3.8.6-5.9%202.7-6.5%206.5-.6-3.8-2.7-5.9-6.5-6.5%203.8-.6%205.9-2.7%206.5-6.5z'%2F%3E%3Cpath%20d%3D'M18.5%2015.5c.3%201.6%201.1%202.4%202.7%202.7-1.6.3-2.4%201.1-2.7%202.7-.3-1.6-1.1-2.4-2.7-2.7%201.6-.3%202.4-1.1%202.7-2.7z'%2F%3E%3C%2Fsvg%3E"); }
  .chat-app-bar .tone-violet .nb-item-icon { background: #efeafe; color: #6a4cf5; }
  /* ใหม่: ชื่อลูกค้าในบรรทัดรายละเอียด */
  .chat-app-bar .nb-item-who { color: var(--ink, #141129); font-weight: 600; }
  /* ใหม่: มีคนในทีมเปิดดูแล้ว = จางลง ไม่มีจุดใหม่ ปุ่มยังกดเปิดแชทได้ */
  .chat-app-bar .nb-item.is-handled .nb-item-icon { background: #f1eff7; color: #8c87a7; }
  .chat-app-bar .nb-item.is-handled .nb-item-title { color: #5b5677; }
  /* ใหม่: จุดเหลือง = เรื่องที่ยังไม่หยุดร้าน (จุดแดงเดิม = ร้านหยุดทำงานแล้ว) */
  .chat-app-bar .notification-bell-dot.is-amber { background: #f08c00; }
  /* ใหม่: จุด "ใหม่" ในรายการใช้สีเดียวกับกติกาจุดบนกระดิ่ง (งานรอทีม = เหลือง) */
  .chat-app-bar .nb-item.is-work, .chat-app-bar .nb-item.tone-amber { --nb-new: #f08c00; }
  /* ใหม่: ปุ่มโหลดรายการเก่ากว่า ท้ายรายการ */
  .chat-app-bar .nb-more { display: block; width: calc(100% - 24px); margin: 4px 12px 10px; padding: 9px 12px; border: 1px solid rgba(88, 66, 200, .14); border-radius: 12px; background: #fff; color: #5842c8; font: 600 13.5px "IBM Plex Sans Thai", sans-serif; cursor: pointer; }
  .chat-app-bar .nb-more small { display: block; color: #8c87a7; font-weight: 400; font-size: 12px; }
  .chat-app-bar .nb-item-handled { display: inline-flex; align-items: center; gap: 5px; color: #2f8a5b; font-size: 12.5px; font-weight: 600; }

.chat-app-bar .nb-item.tone-violet { --nb-new: #f08c00; }
