/* JobKey Chat – giao diện gộp tin nhắn fanpage */
:root {
  --brand: #f25c05;
  --brand-600: #d54a01;
  --brand-50: #fff4ec;
  --brand-100: #ffe6d4;
  --ink: #2b1b12;
  --ink-2: #5d4a3f;
  --muted: #8f8078;
  --line: #ece6e1;
  --line-2: #f4f0ec;
  --bg: #f6f3f0;
  --card: #fff;
  --nav: #2b1b12;
  --nav-text: #e8dfd8;
  --ok: #1f9d55;
  --err: #d93025;
  --info: #0b6bcb;
  --unread-bg: #fff1ea;
  --sel-bg: #e9f1ff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(43, 27, 18, .06), 0 2px 8px rgba(43, 27, 18, .05);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-size: 14px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; }
.wrap { flex-wrap: wrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Thanh trên ---------- */
.topbar { height: 48px; background: var(--nav); color: var(--nav-text); display: flex; align-items: center; padding: 0 14px; gap: 6px; position: relative; z-index: 30; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; margin-right: 18px; font-size: 15px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.nav-link { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; color: var(--nav-text); font-weight: 500; }
.nav-link:hover { background: rgba(255, 255, 255, .07); }
.nav-link.active { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-link svg { width: 16px; height: 16px; }
.nav-badge { background: var(--err); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; min-width: 20px; text-align: center; }
.topbar .spacer { flex: 1; }
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--nav-text); padding: 4px 8px; border-radius: 8px; }
.user-btn:hover { background: rgba(255, 255, 255, .07); }
.avatar-sm { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; overflow: hidden; flex: none; }
.dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, .14); min-width: 200px; padding: 6px; z-index: 50; }
.dropdown a, .dropdown button { display: flex; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; background: none; border: 0; cursor: pointer; gap: 8px; align-items: center; }
.dropdown a:hover, .dropdown button:hover { background: var(--line-2); }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

/* ---------- Nút, ô nhập ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; white-space: nowrap; line-height: 1.3; }
.btn:hover { background: var(--line-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--brand-600); }
.btn-danger { color: var(--err); }
.btn-sm { padding: 4px 9px; font-size: 13px; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: 8px; }
.btn-icon svg, .btn svg { width: 16px; height: 16px; flex: none; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--line-2); }
.input, .select, .textarea { width: 100%; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; outline: none; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.textarea { resize: vertical; min-height: 70px; }
label.field { display: block; margin-bottom: 12px; }
label.field > span { display: block; font-weight: 500; margin-bottom: 5px; font-size: 13px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }

/* ---------- Trang thường ---------- */
.page { max-width: 1240px; margin: 0 auto; padding: 22px 20px 60px; }
.page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 20px; margin: 0; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin: 26px 0 12px; }
.section-title::before { content: ""; width: 3px; height: 18px; border-radius: 2px; background: var(--brand); }
.section-title .count { color: var(--muted); font-weight: 500; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.flash-ok { background: #eefbf3; border-color: #bfe8cf; color: #145c33; }
.flash-err { background: #fff0ef; border-color: #f6c6c2; color: #8f1d14; }
.empty { color: var(--muted); padding: 10px 0; display: flex; gap: 8px; align-items: center; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; color: #fff; line-height: 18px; }
.pill { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 99px; font-size: 12px; background: var(--line-2); color: var(--ink-2); }
.pill-ok { background: #e7f7ee; color: #157347; }
.pill-err { background: #fdecea; color: #b42318; }

/* Thẻ kênh */
.channel { display: flex; align-items: center; gap: 12px; padding: 14px 14px; }
.channel:hover { border-color: #e0d6cf; }
.channel .pic { position: relative; flex: none; }
.channel .pic img, .channel .pic .ph { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--line-2); }
.channel .pic .net { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; background: #1877f2; display: grid; place-items: center; }
.channel .pic .net svg { width: 10px; height: 10px; fill: #fff; }
.channel .name { font-weight: 600; }
.channel .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.channel.off { opacity: .6; }
.group-pics { display: grid; grid-template-columns: 22px 22px; gap: 2px; flex: none; }
.group-pics img, .group-pics span { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; background: var(--line-2); font-size: 10px; display: grid; place-items: center; color: var(--muted); }
.unread-dot { background: var(--err); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }

/* Hộp thoại */
.modal-back { position: fixed; inset: 0; background: rgba(30, 18, 10, .45); z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal { background: #fff; border-radius: 14px; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-head { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.modal-body { padding: 18px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.pick-list { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.pick-list label { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; cursor: pointer; }
.pick-list label:hover { background: var(--line-2); }
.pick-list img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

/* ---------- Đăng nhập ---------- */
.login-wrap { min-height: 100%; display: grid; place-items: center; padding: 20px; background: radial-gradient(1200px 600px at 10% -10%, #ffe2cc 0, transparent 60%), var(--bg); }
.login-card { width: min(400px, 100%); padding: 30px; }
.login-card h1 { font-size: 20px; margin: 14px 0 4px; }

/* =================================================================== HỘP THƯ */
.inbox { display: flex; height: calc(100vh - 48px); overflow: hidden; }
.rail { width: 52px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 4px; flex: none; overflow-y: auto; }
.rail-btn { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink-2); position: relative; flex: none; }
.rail-btn:hover { background: var(--line-2); }
.rail-btn.on { background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-100); }
.rail-btn svg { width: 18px; height: 18px; }
.rail-sep { width: 26px; border-top: 1px solid var(--line); margin: 4px 0; }
.rail .scope-pic { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-bottom: 4px; flex: none; }
.rail .scope-pic img { width: 100%; height: 100%; object-fit: cover; }
.tip { position: fixed; background: #241710; color: #fff; padding: 5px 9px; border-radius: 6px; font-size: 12px; pointer-events: none; z-index: 100; white-space: nowrap; }

.list-col { width: 400px; flex: none; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; min-width: 0; }
.list-head { padding: 10px; display: flex; gap: 8px; border-bottom: 1px solid var(--line); align-items: center; }
.search { position: relative; flex: 1; }
.search input { padding-left: 32px; background: var(--line-2); border-color: transparent; }
.search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 0; }
.active-filters:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px 3px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand-600); font-size: 12px; font-weight: 500; border: 1px solid var(--brand-100); }
.chip button { border: 0; background: none; cursor: pointer; color: inherit; padding: 0 2px; font-size: 14px; line-height: 1; }
.conv-list { flex: 1; overflow-y: auto; padding: 6px 0; }
.conv { display: flex; gap: 10px; padding: 10px 12px; cursor: pointer; border-left: 3px solid transparent; position: relative; }
.conv + .conv { border-top: 1px solid var(--line-2); }
.conv:hover { background: #faf8f6; }
.conv.unread { background: var(--unread-bg); }
.conv.unread:hover { background: #ffe9de; }
.conv.sel { background: var(--sel-bg); border-left-color: var(--brand); }
.conv .av { position: relative; flex: none; }
.conv .av img, .conv .av .ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ph { background: linear-gradient(135deg, #f3d9c8, #e8c1a8); color: #7a4a2e; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.conv .av .src { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; }
.src-inbox { background: linear-gradient(45deg, #0a7cff, #a033ff 70%, #ff5280); }
.src-comment { background: #1877f2; }
.conv .av .src svg { width: 10px; height: 10px; fill: #fff; }
.conv .body { flex: 1; min-width: 0; }
.conv .l1 { display: flex; align-items: center; gap: 6px; }
.conv .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv.unread .name { color: #c2410c; }
.conv .badge { background: var(--err); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 0 6px; line-height: 17px; flex: none; }
.conv .time { margin-left: auto; font-size: 11.5px; color: var(--muted); flex: none; }
.conv .snip { color: var(--ink-2); font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv.unread .snip { color: var(--ink); font-weight: 500; }
.conv .l3 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; align-items: center; }
.conv .meta-pill { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; line-height: 17px; }
.conv .pg { position: absolute; right: 12px; bottom: 10px; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.conv .pg img { width: 100%; height: 100%; object-fit: cover; }
.conv .icons { display: flex; gap: 4px; position: absolute; right: 12px; top: 30px; color: var(--muted); }
.conv .icons svg { width: 13px; height: 13px; }
.list-foot { padding: 12px; text-align: center; color: var(--muted); font-size: 12.5px; }

.chat-col { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #f2eeea; }
.chat-empty { flex: 1; display: grid; place-items: center; color: var(--muted); font-size: 18px; text-align: center; }
.chat-head { height: 56px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 12px; gap: 10px; flex: none; }
.chat-head img, .chat-head .ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; font-size: 14px; }
.chat-head .who { min-width: 0; }
.chat-head .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head .who span { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.chat-head .tools { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.msgs { flex: 1; overflow-y: auto; padding: 16px 18px 10px; display: flex; flex-direction: column; gap: 3px; }
.day-sep { align-self: center; font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, .7); border-radius: 99px; padding: 2px 10px; margin: 10px 0 6px; }
.m { display: flex; gap: 8px; max-width: 72%; align-items: flex-end; }
.m.out { align-self: flex-end; flex-direction: row-reverse; }
.m .mav { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; font-size: 11px; }
.m .stack { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.m.out .stack { align-items: flex-end; }
.bubble { padding: 8px 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .04); white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; line-height: 1.45; }
.m.out .bubble { background: #0a7cff; color: #fff; }
.m.out.by-page .bubble { background: #5b6b7f; }
.m.failed .bubble { background: #fde8e6; color: #8f1d14; border: 1px dashed #f3a7a0; }
.m.hidden .bubble { opacity: .55; }
.m.deleted .bubble { text-decoration: line-through; opacity: .5; }
.bubble a { color: inherit; text-decoration: underline; }
.att-img { max-width: 260px; max-height: 300px; border-radius: 12px; cursor: zoom-in; background: #ddd; object-fit: cover; }
.att-file { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; background: #fff; border-radius: 12px; border: 1px solid var(--line); color: var(--info); }
.att-sticker { width: 100px; height: 100px; object-fit: contain; }
.mmeta { font-size: 11px; color: var(--muted); display: flex; gap: 6px; align-items: center; padding: 0 4px; flex-wrap: wrap; }
.m.out .mmeta { justify-content: flex-end; }
.mmeta .err { color: var(--err); }
.mmeta .act { cursor: pointer; color: var(--muted); background: none; border: 0; padding: 0; font-size: 11px; }
.mmeta .act:hover { color: var(--brand); text-decoration: underline; }
.mmeta .flag { font-weight: 600; }
.m.reply-target .bubble { box-shadow: 0 0 0 2px var(--brand); }
.reply-child { margin-left: 36px; }
.seen-line { align-self: flex-end; font-size: 11px; color: var(--muted); margin-top: 4px; }

.composer { background: #fff; border-top: 1px solid var(--line); padding: 8px 12px 10px; flex: none; position: relative; }
.label-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.lbl-toggle { border: 1.5px solid; background: #fff; border-radius: 99px; padding: 1px 10px; font-size: 12px; font-weight: 600; cursor: pointer; line-height: 20px; }
.reply-banner { display: flex; align-items: center; gap: 8px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; font-size: 12.5px; }
.reply-banner .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.reply-banner .seg button { border: 0; background: none; padding: 3px 10px; cursor: pointer; font-size: 12px; }
.reply-banner .seg button.on { background: var(--brand); color: #fff; }
.compose-row { display: flex; gap: 8px; align-items: flex-end; }
.compose-box { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px 6px 4px 12px; display: flex; flex-direction: column; }
.compose-box:focus-within { border-color: #8ab4f8; }
.compose-box textarea { border: 0; outline: none; resize: none; max-height: 160px; min-height: 40px; padding: 8px 0; line-height: 1.45; background: transparent; }
.compose-tools { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.compose-tools .btn-icon { color: var(--ink-2); }
.send-btn { height: 40px; padding: 0 16px; }
.preview-img { position: relative; display: inline-block; margin: 6px 0; }
.preview-img img { height: 70px; border-radius: 8px; }
.preview-img button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 12px; line-height: 20px; }
.window-warn { font-size: 12px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; }
.popover { position: absolute; bottom: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, .15); z-index: 40; }
.emoji-pop { left: 12px; width: 320px; padding: 8px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; }
.emoji-pop button { border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 6px; padding: 2px; }
.emoji-pop button:hover { background: var(--line-2); }
.qr-pop { left: 12px; right: 12px; max-height: 260px; overflow: auto; padding: 4px; }
.qr-pop .qr { padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.qr-pop .qr.on, .qr-pop .qr:hover { background: var(--brand-50); }
.qr-pop .qr b { color: var(--brand-600); margin-right: 8px; }

.info-col { width: 320px; flex: none; border-left: 1px solid var(--line); background: #fff; overflow-y: auto; }
.info-head { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); }
.info-head img, .info-head .ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.info-sec { padding: 14px; border-bottom: 1px solid var(--line); }
.info-sec h4 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.info-sec h4::before { content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--brand); }
.info-field { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.info-field svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.info-field .input { padding: 6px 9px; background: var(--line-2); border-color: transparent; }
.info-field .input:focus { background: #fff; }
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; font-size: 13px; white-space: pre-wrap; }
.note .nm { font-size: 11px; color: var(--muted); margin-top: 4px; display: flex; justify-content: space-between; }
.post-card { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.post-card img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; flex: none; }
.post-card .txt { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.filter-pop { position: fixed; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 34px rgba(0, 0, 0, .16); z-index: 60; padding: 14px; width: 300px; }
.filter-pop h5 { margin: 0 0 10px; font-size: 14px; }
.lbl-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .85); z-index: 90; display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 6px; }
.toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 120; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #241710; color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); max-width: 380px; font-size: 13px; }
.toast.err { background: #b42318; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.back-btn { display: none; }

@media (max-width: 1280px) { .info-col { width: 280px; } .list-col { width: 340px; } }
@media (max-width: 1100px) { .info-col { display: none; } .info-col.show { display: block; position: absolute; right: 0; top: 48px; bottom: 0; z-index: 20; box-shadow: -8px 0 24px rgba(0, 0, 0, .1); } }
@media (max-width: 760px) {
  .rail { display: none; }
  .list-col { width: 100%; }
  .chat-col { display: none; }
  .inbox.open .list-col { display: none; }
  .inbox.open .chat-col { display: flex; }
  .back-btn { display: inline-flex; }
  .nav-link span.lbl, .brand span:not(.brand-mark), .user-btn .lbl { display: none; }
  .m { max-width: 88%; }
}
