/* bizxmart buyer account: header user menu, chats (two panes), addresses, GST lookup, email/mobile codes, the
   "Report this business" dialog. Works in the marketplace layout (body.bx) and on store sites, so colours are set
   here, not taken from bx.css. Sizes in px (app.css sets a 12px root). Flat buttons, no shadows. */
:root {
  --bxa-navy: #003666; --bxa-navy-2: #0a4a85; --bxa-tint: #e6eef6; --bxa-btn: #c2410c; --bxa-btn-h: #a63809;
  --bxa-ink: #0f1b2d; --bxa-text: #33435a; --bxa-muted: #4a5a70; --bxa-line: #dce3ec; --bxa-ground: #f4f6f9;
  --bxa-ok: #146c2e; --bxa-ok-bg: #e8f5ec; --bxa-bad: #b42318;
}
.bxa-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bxa-muted { color: var(--bxa-muted); margin: 0; font-size: 14px; }
.bxa-hint { color: var(--bxa-muted); font-size: 13px; font-weight: 500; margin: 0; }
.bxa-warn { color: #8a4b00; font-size: 13px; }

/* Buttons */
.bxa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  background: var(--bxa-btn); color: #fff !important; font: inherit; font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 14px; line-height: 1.2;
  text-decoration: none !important; cursor: pointer; white-space: nowrap; box-shadow: none; }
.bxa-btn:hover { background: var(--bxa-btn-h); }
.bxa-btn:focus-visible, .bxa-iconbtn:focus-visible, .bx-umenu a:focus-visible, .bx-umenu button:focus-visible { outline: 3px solid #f0a46e; outline-offset: 2px; }
.bxa-btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.bxa-btn.navy { background: var(--bxa-navy); }
.bxa-btn.navy:hover { background: var(--bxa-navy-2); }
.bxa-btn.line { background: #fff; color: var(--bxa-navy) !important; border-color: var(--bxa-navy); }
.bxa-btn.line:hover { background: var(--bxa-tint); }
.bxa-btn.ghost { background: transparent; color: var(--bxa-navy) !important; border-color: var(--bxa-line); }
.bxa-btn.ghost:hover { background: var(--bxa-ground); }
.bxa-btn.danger { color: var(--bxa-bad) !important; }
.bxa-btn.danger:hover { background: #fdecea; border-color: #f4c7c3; }
.bxa-btn[disabled] { opacity: .6; cursor: default; }
.bxa-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 8px; border: 1px solid var(--bxa-line);
  background: #fff; color: var(--bxa-navy); cursor: pointer; font-size: 17px; }
.bxa-iconbtn:hover, .bxa-iconbtn[aria-expanded="true"] { background: var(--bxa-tint); border-color: #b9c8da; }

.bxa-card { background: #fff; border: 1px solid var(--bxa-line); border-radius: 12px; padding: 16px; }
.bxa-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--bxa-ground); color: var(--bxa-ink); white-space: nowrap; }
.bxa-badge.ok { background: var(--bxa-ok-bg); color: var(--bxa-ok); }
.bxa-badge[hidden] { display: none; }
.bxa-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--bxa-navy); background: var(--bxa-tint); border-radius: 6px; padding: 3px 9px; }
.bxa-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bxa-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.bxa-inline > input { flex: 1 1 220px; min-width: 0; }
.bxa-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.bxa-head-row h2 { margin: 0 0 2px; }
.bxa-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bxa-empty p { margin: 0; color: var(--bxa-muted); font-size: 14px; }

/* ---------- Account tabs: the tab's content in one white panel under the account nav (layouts/market wraps it) ---------- */
.bxa-panel { background: #fff; border: 1px solid var(--bxa-line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bxa-panel > :first-child { margin-top: 0; }
@media (max-width: 760px) { .bxa-panel { padding: 14px; border-radius: 10px; } }

/* ---------- Header: the signed-in buyer's menu (layouts/market) ---------- */
.bx-user { position: relative; }
.bx-user > summary { list-style: none; }
.bx-user > summary::-webkit-details-marker { display: none; }
.bx-ava { width: 24px; height: 24px; border-radius: 50%; background: var(--bxa-navy); color: #fff; font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.bx-user .car { font-size: 9px; margin-left: 1px; }
.bx-umenu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; max-width: calc(100vw - 16px); background: #fff; border: 1px solid #c5d0dd; border-radius: 12px; padding: 6px; z-index: 60;
  display: flex; flex-direction: column; }
.bx-umenu-head { padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid #eef2f6; margin-bottom: 4px; min-width: 0; }
.bx-umenu-head strong { color: var(--bxa-navy); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-umenu-head span { color: var(--bxa-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-umenu a, .bx-umenu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--bxa-ink) !important; text-decoration: none; text-align: left; cursor: pointer; }
.bx-umenu a:hover, .bx-umenu button:hover { background: var(--bxa-ground); color: var(--bxa-navy) !important; }
.bx-umenu i { width: 18px; text-align: center; color: var(--bxa-navy); }
.bx-umenu .n { margin-left: auto; background: var(--bxa-btn); color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 0 7px; line-height: 19px; }
.bx-umenu hr { border: 0; border-top: 1px solid #eef2f6; margin: 4px 0; }
.bx-umenu form { margin: 0; }
@media (max-width: 860px) {
  /* opens under its icon (top: auto keeps it there) but pinned to the screen's right edge, so it never runs off-screen */
  .bx-umenu { position: fixed; left: auto; right: 8px; top: auto; margin-top: 8px; width: min(300px, calc(100vw - 16px)); max-height: 72vh; overflow-y: auto; }
}

/* ---------- Chats: list + open chat ---------- */
.bxa-chat { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; background: #fff; border: 1px solid var(--bxa-line); border-radius: 12px; overflow: hidden;
  height: max(520px, calc(100vh - 250px)); min-height: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--bxa-ink); }
.bxa-list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--bxa-line); background: #fff; }
.bxa-list-head { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--bxa-line); }
.bxa-list-head h2 { margin: 0; font-size: 18px; color: var(--bxa-navy); }
.bxa-search { display: flex; flex-direction: row; align-items: center; margin: 0; font-weight: 400; gap: 8px; border: 1px solid var(--bxa-line); border-radius: 8px; padding: 0 10px; background: var(--bxa-ground); color: var(--bxa-muted); }
.bxa-search:focus-within { border-color: var(--bxa-navy); background: #fff; }
.bxa-search input { border: 0 !important; background: transparent !important; outline: 0; box-shadow: none !important; height: 38px; min-height: 0; padding: 0 !important; flex: 1; min-width: 0; font: inherit; font-size: 14px; }
.bxa-chatlist { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.bxa-chatlist li[hidden] { display: none; }
.bxa-chatlist a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none !important; color: var(--bxa-ink) !important; border-bottom: 1px solid #eef2f6; border-left: 3px solid transparent; }
.bxa-chatlist a:hover { background: var(--bxa-ground); }
.bxa-chatlist a.on { background: var(--bxa-tint); border-left-color: var(--bxa-navy); }
.bxa-logo { width: 44px; height: 44px; border-radius: 10px; flex: none; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bxa-tint); color: var(--bxa-navy); font-weight: 800; font-size: 18px; border: 1px solid var(--bxa-line); }
.bxa-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bxa-li-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bxa-li-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.bxa-li-top strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bxa-li-top time { font-size: 12px; color: var(--bxa-muted); white-space: nowrap; flex: none; }
.bxa-li-about { font-size: 12.5px; color: var(--bxa-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bxa-li-last { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--bxa-muted); }
.bxa-li-last > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bxa-chatlist a.unread .bxa-li-last > span, .bxa-chatlist a.unread strong { color: var(--bxa-ink); font-weight: 700; }
.bxa-unread { background: var(--bxa-btn); color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 0 7px; line-height: 19px; flex: none; }
.bxa-nomatch { padding: 16px 14px; color: var(--bxa-muted); font-size: 14px; margin: 0; }
.bxa-list .bxa-empty { padding: 18px 14px; }

.bxa-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #fff; }
.bxa-placeholder { margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px; max-width: 360px; }
.bxa-placeholder strong { font-size: 17px; color: var(--bxa-navy); }
.bxa-placeholder p { margin: 0; color: var(--bxa-muted); font-size: 14px; }
.bxa-ph-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--bxa-tint); color: var(--bxa-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 4px; }
.bxa-pane-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--bxa-line); }
.bxa-pane-head .bxa-logo { width: 40px; height: 40px; font-size: 16px; }
.bxa-back { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; color: var(--bxa-navy) !important; flex: none; font-size: 17px; }
.bxa-back:hover { background: var(--bxa-ground); }
.bxa-ph-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bxa-ph-main h2 { margin: 0; font-size: 16px; color: var(--bxa-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bxa-ph-main > span { font-size: 12.5px; color: var(--bxa-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bxa-verified { color: #1f7a3a; font-size: 14px; }
.bxa-ph-acts { display: flex; gap: 6px; align-items: center; flex: none; }
.bxa-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.bxa-day { display: flex; justify-content: center; margin: 8px 0 4px; }
.bxa-day span { background: #fff; border: 1px solid var(--bxa-line); color: var(--bxa-muted); font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 12px; }
.bxa-msg { display: flex; }
.bxa-msg.me { justify-content: flex-end; }
.bxa-bubble { max-width: min(78%, 560px); background: #f4f6f9; border: 1px solid var(--bxa-line); border-radius: 14px 14px 14px 4px; padding: 9px 13px 7px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bxa-msg.me .bxa-bubble { background: #dfe9f5; border-color: #c4d5ea; border-radius: 14px 14px 4px 14px; }
.bxa-text { white-space: pre-line; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.5; color: var(--bxa-ink); }
.bxa-kind { font-size: 13px; color: var(--bxa-navy); display: flex; gap: 6px; align-items: center; }
.bxa-time { font-size: 11.5px; color: var(--bxa-muted); align-self: flex-end; }
.bxa-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.bxa-thumbs a { display: block; width: 132px; height: 132px; border-radius: 10px; overflow: hidden; border: 1px solid var(--bxa-line); background: #fff; }
.bxa-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bxa-file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--bxa-line); background: #fff; text-decoration: none !important; color: var(--bxa-ink) !important; max-width: 320px; }
.bxa-file:hover { border-color: var(--bxa-navy); }
.bxa-file i { color: #b42318; font-size: 20px; flex: none; }
.bxa-file .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.bxa-file .s { font-size: 12px; color: var(--bxa-muted); flex: none; }
.bxa-closed { margin: 0; padding: 14px 16px; background: #fff; border-top: 1px solid var(--bxa-line); color: var(--bxa-muted); }
.bxa-compose { background: #fff; border-top: 1px solid var(--bxa-line); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.bxa-compose-row { display: flex; gap: 8px; align-items: flex-end; }
.bxa-compose textarea { flex: 1; min-width: 0; resize: none; min-height: 42px; max-height: 160px; padding: 10px 12px; border: 1px solid var(--bxa-line); border-radius: 10px; font: inherit; font-size: 14.5px; line-height: 1.4; }
.bxa-compose textarea:focus { border-color: var(--bxa-navy); outline: 2px solid var(--bxa-tint); }
.bxa-compose .send { min-width: 92px; }
.bxa-attach[hidden] { display: none; }
.bxa-note { color: var(--bxa-muted); font-size: 12px; }

/* Chats / Requirements tabs, list filters, closed chats, requirement responses */
.bxa-tabbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; font-family: Montserrat, system-ui, sans-serif; }
.bxa-tabs { display: inline-flex; gap: 4px; background: var(--bxa-ground); border: 1px solid var(--bxa-line); border-radius: 10px; padding: 4px; }
.bxa-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 7px; font-weight: 700; font-size: 14px; color: var(--bxa-muted) !important; text-decoration: none !important; }
.bxa-tabs a:hover { color: var(--bxa-navy) !important; background: #fff; }
.bxa-tabs a.on { background: var(--bxa-navy); color: #fff !important; }
.bxa-tabs a:focus-visible { outline: 3px solid #f0a46e; outline-offset: 2px; }
.bxa-list { overflow-y: auto; }                       /* the filters scroll away with the list */
.bxa-list .bxa-chatlist { flex: none; overflow: visible; }
.bxa-filt { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.bxa-filt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.bxa-filt-f { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 12px; font-weight: 600; color: var(--bxa-muted); min-width: 0; }
.bxa-filt-wide { grid-column: 1 / -1; }
.bxa-filt-f select, .bxa-filt-f input { height: 36px; min-height: 0; padding: 0 8px; border: 1px solid var(--bxa-line); border-radius: 8px; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--bxa-ink); background: #fff; width: 100%; box-sizing: border-box; min-width: 0; box-shadow: none; }
.bxa-filt-f select:focus, .bxa-filt-f input:focus { border-color: var(--bxa-navy); outline: 2px solid var(--bxa-tint); }
.bxa-filt-acts { display: flex; gap: 8px; }
.bxa-count { margin: 0; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--bxa-muted); border-bottom: 1px solid #eef2f6; }
.bxa-li-about i { font-size: 11px; margin-right: 2px; }
.bxa-li-last > span.bxa-state, .bxa-state { flex: none; display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; border-radius: 5px; padding: 2px 6px; margin-right: 4px; line-height: 1.3; }
.bxa-state.open { background: var(--bxa-ok-bg); color: var(--bxa-ok); }
.bxa-state.closed { background: #eaeef3; color: var(--bxa-muted); }
.bxa-logo-ic { font-size: 18px; }
.bxa-li-last em { font-style: normal; color: var(--bxa-muted); }
.bxa-closed-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; background: var(--bxa-tint); border-top: 1px solid #b9c8da; }
.bxa-closed-banner form { margin: 0; }
.bxa-cb-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bxa-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 17px; }
.bxa-cb-main { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--bxa-text); }
.bxa-cb-main strong { color: var(--bxa-navy); font-size: 14.5px; }
.bxa-resp-wrap { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bxa-resp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bxa-resp > li { display: flex; }
.bxa-resp-card { flex: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bxa-line); border-radius: 12px; margin: 0; min-width: 0; color: var(--bxa-ink) !important; text-decoration: none !important; }
a.bxa-resp-card { flex-direction: row; gap: 12px; padding: 14px; align-items: flex-start; }
.bxa-resp-btn { display: flex; gap: 12px; padding: 14px; align-items: flex-start; width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: inherit; border-radius: 12px; }
.bxa-resp-card:hover, .bxa-resp-card:focus-within { border-color: var(--bxa-navy); }
.bxa-resp-card.unread { border-left: 3px solid var(--bxa-btn); }
.bxa-resp-card:focus-visible, .bxa-resp-btn:focus-visible { outline: 3px solid #f0a46e; outline-offset: 2px; }
.bxa-resp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bxa-price { font-size: 13px; font-weight: 700; color: var(--bxa-ok); display: flex; gap: 6px; align-items: center; }
.bxa-resp-foot { padding: 8px 14px; border-top: 1px solid #eef2f6; font-size: 12px; color: var(--bxa-muted); }
.bxa-resp-wrap > .bxa-placeholder { margin: auto; }

/* ---------- Chat rooms (enquiries, support): list items are buttons with an opaque key, the filter dropdown,
   in-place notices, the share dialog. Script: bx-account.js (chatRoom). ---------- */
.bxa-listform { margin: 0; }
.bxa-chatlist button.bxa-li { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; margin: 0; text-align: left; font: inherit; cursor: pointer;
  background: #fff; color: var(--bxa-ink); border: 0; border-bottom: 1px solid #eef2f6; border-left: 3px solid transparent; border-radius: 0; }
.bxa-chatlist button.bxa-li:hover { background: var(--bxa-ground); }
.bxa-chatlist button.bxa-li.on { background: var(--bxa-tint); border-left-color: var(--bxa-navy); }
.bxa-chatlist button.bxa-li:focus-visible { outline: 3px solid #f0a46e; outline-offset: -3px; }
.bxa-chatlist button.bxa-li.unread .bxa-li-last > span, .bxa-chatlist button.bxa-li.unread strong { color: var(--bxa-ink); font-weight: 700; }
.bxa-list-head.bxa-list-top { flex-direction: row; align-items: center; justify-content: space-between; position: relative; }
.bxa-fdrop { margin: 0; }
.bxa-fdrop > summary { list-style: none; position: relative; width: 38px; height: 38px; }
.bxa-fdrop > summary::-webkit-details-marker { display: none; }
.bxa-fdrop[data-active] > summary { border-color: var(--bxa-navy); background: var(--bxa-tint); }
.bxa-fdrop[open] > summary { background: var(--bxa-tint); border-color: #b9c8da; }
.bxa-fdrop > summary:focus-visible { outline: 3px solid #f0a46e; outline-offset: 2px; }
.bxa-fcount { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 99px; background: var(--bxa-btn); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.bxa-fpanel { position: absolute; z-index: 30; top: calc(100% - 6px); left: 10px; right: 10px; background: #fff; border: 1px solid var(--bxa-line); border-radius: 12px;
  box-shadow: 0 12px 32px rgb(15 27 45 / 18%); padding: 12px; }
.bxa-fpanel .bxa-filt-acts { justify-content: flex-end; }
.bxa-ajax-msg { margin: 0; padding: 8px 14px; font-size: 13px; font-weight: 600; background: var(--bxa-ok-bg); color: var(--bxa-ok); border-bottom: 1px solid #b7dcc2; }
.bxa-ajax-msg.bad { background: #fdecea; color: var(--bxa-bad); border-bottom-color: #f4c7c3; }
.bxa-ajax-msg[hidden], .bxa-dlg-err[hidden] { display: none; }
.bxa-dlg-err { margin: 0; color: var(--bxa-bad); font-size: 13.5px; font-weight: 600; }
.bxa-pane[aria-busy="true"] { opacity: .6; transition: opacity .15s; }
.bxa-chat.in-chat .bxa-back { display: inline-flex; }
.bxa-ph-main h2:focus { outline: none; }
.bxa-share-ask { align-self: flex-start; }
.bxa-share-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.bxa-share-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; }
.bxa-share-row input:not([type=checkbox]), .bxa-share-row textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #c9d3df; border-radius: 8px; font: inherit; font-size: 14px; }
.bxa-shared { border: 1px solid var(--bxa-line); background: var(--bxa-ground); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bxa-shared ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bxa-shared li { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 13.5px; }
.bxa-shared li > span { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.bxa-shared small { color: var(--bxa-muted); font-size: 12px; }
.bxa-shared form { margin: 0; }
@media (max-width: 560px) { .bxa-share-row { grid-template-columns: 1fr; gap: 4px; } }

@media (max-width: 760px) {
  .bxa-tabs a { padding: 8px 12px; }
  .bxa-resp { grid-template-columns: 1fr; }
  .bxa-resp-wrap { padding: 12px; }
}

@media (max-width: 760px) {
  .bxa-chat { grid-template-columns: 1fr; height: calc(100vh - 190px); min-height: 460px; border-radius: 10px; }
  .bxa-chat.has-chat .bxa-list { display: none; }
  .bxa-chat:not(.has-chat) .bxa-pane { display: none; }
  .bxa-list { border-right: 0; }
  .bxa-back { display: inline-flex; }
  .bxa-pane-head { padding: 8px 10px; gap: 8px; }
  .bxa-ph-acts .bxa-btn span { display: none; }
  .bxa-ph-acts .bxa-btn { padding: 0 10px; }
  .bxa-bubble { max-width: 88%; }
  .bxa-thumbs a { width: 104px; height: 104px; }
  .bxa-compose .send span { display: none; }
  .bxa-compose .send { min-width: 0; width: 42px; padding: 0; }
  .bxa-note { display: none; }
}

/* ---------- Dialogs (addresses, report) ---------- */
.bxa-dialog { border: 1px solid var(--bxa-line); border-radius: 14px; padding: 0; width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 32px); color: var(--bxa-ink);
  font-family: Montserrat, system-ui, sans-serif; background: #fff; overflow: hidden; }
.bxa-dialog[open] { display: flex; flex-direction: column; }
.bxa-dialog:not([open]) { display: none; }
.bxa-dialog::backdrop { background: rgb(15 27 45 / 50%); }
.bxa-dlg-form { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 34px); margin: 0; }
.bxa-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--bxa-line); }
.bxa-dlg-head h2 { margin: 0; font-size: 18px; color: var(--bxa-navy); }
.bxa-x { width: 36px; height: 36px; border-radius: 8px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--bxa-muted) !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; }
.bxa-x:hover { background: var(--bxa-ground); color: var(--bxa-ink) !important; }
.bxa-dlg-body { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.bxa-dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--bxa-line); background: #fafbfd; flex-wrap: wrap; }
.bxa-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.bxa-field textarea, .bxa-field input:not([type=file]) { font: inherit; font-weight: 400; }
.bxa-reasons { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bxa-reasons legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.bxa-field .bxa-hint { font-size: 12.5px; }
.bxa-field textarea, .bxa-field input:not([type=file]) { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #c9d3df; border-radius: 8px; }
.bxa-radio, .bxa-check { flex-direction: row !important; margin: 0; }
.bxa-radio { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--bxa-line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: 13.5px; font-weight: 500; }
.bxa-radio:has(input:checked) { border-color: var(--bxa-navy); background: var(--bxa-tint); }
.bxa-radio input, .bxa-check input { margin-top: 2px; flex: none; accent-color: var(--bxa-navy); }
.bxa-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
@media (max-width: 560px) {
  .bxa-reasons { grid-template-columns: 1fr; }
  .bxa-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .bxa-dlg-foot .bxa-btn { flex: 1; }
}
.bxa-report-open { cursor: pointer; }
button.bxa-report-open:not(.bxa-btn), a.bxa-report-open:not(.bxa-btn) { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--bxa-muted); text-decoration: underline; display: inline-flex; gap: 6px; align-items: center; }
button.bxa-report-open:not(.bxa-btn):hover, a.bxa-report-open:not(.bxa-btn):hover { color: var(--bxa-bad); }

/* ---------- Addresses ---------- */
.bxa-addr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.bxa-addr { display: flex; flex-direction: column; gap: 6px; }
.bxa-addr.is-default { border-color: var(--bxa-navy); }
.bxa-addr-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.bxa-addr-name { font-size: 15px; }
.bxa-addr address { font-style: normal; font-size: 14px; color: var(--bxa-text); line-height: 1.5; }
.bxa-addr-phone { font-size: 13.5px; color: var(--bxa-text); }
.bxa-addr-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px solid #eef2f6; }
.bxa-addr-acts form { margin: 0; }

/* ---------- Business & GST ---------- */
.bxa-gst-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.bxa-gst-row .bxa-field { flex: 1 1 240px; }
.bxa-gst-row .bxa-btn { min-height: 44px; }
.bxa-gst-card { border: 1px solid #b7dcc2; background: #f4fbf6; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.bxa-gst-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.bxa-gst-card-head strong { font-size: 16px; color: var(--bxa-navy); }
.bxa-gst-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.bxa-gst-card dt { color: var(--bxa-muted); font-weight: 600; }
.bxa-gst-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .bxa-gst-card dl { grid-template-columns: 1fr; } .bxa-gst-card dd { margin-bottom: 6px; } }
input[readonly] { background: var(--bxa-ground); }
/* GSTIN change request status (inside the verified card) */
.bxa-gcr { border-top: 1px solid #b7dcc2; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.bxa-gcr p { margin: 0; }
.bxa-gcr p strong { color: var(--bxa-navy); margin-right: 6px; }
.bxa-badge.bad { background: #fdecea; color: var(--bxa-bad); }

/* ---------- Profile: email and mobile with codes ---------- */
.bxa-contact { border-top: 1px solid #eef2f6; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 120px; }
.bxa-contact-form { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.bxa-contact-form > label { font-weight: 600; }
.bxa-contact .bxa-btn[hidden] { display: none; }
.bxa-codes { border: 1px solid var(--bxa-line); background: var(--bxa-ground); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.bxa-code-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.bxa-code { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bxa-code-l { font-size: 13px; font-weight: 600; color: var(--bxa-text); overflow-wrap: anywhere; }

/* ---------- Help & support (shop/account-support): status pills, 24 x 7 note, system lines, new ticket, rating ---------- */
.bxs-avail { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--bxa-navy); }
.bxs-dot { width: 9px; height: 9px; border-radius: 50%; background: #1f9d4c; flex: none; }
.bxa-state.bxs-open { background: #fff1e8; color: #a63809; }
.bxa-state.bxs-waiting { background: var(--bxa-tint); color: var(--bxa-navy); }
.bxa-state.bxs-resolved { background: var(--bxa-ok-bg); color: var(--bxa-ok); }
.bxa-state.bxs-closed { background: #eaeef3; color: var(--bxa-muted); }
.bxs-num { font-weight: 700; letter-spacing: .02em; }
.bxs-sys { align-self: center; max-width: min(90%, 560px); display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--bxa-text); background: #fff; border: 1px dashed #b9c8da; border-radius: 10px; padding: 8px 12px; }
.bxs-sys i { color: var(--bxa-navy); margin-top: 2px; }
.bxs-new { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; margin: 0; background: #fff; }
.bxs-cats { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bxs-cats legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.bxs-new-acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.bxs-resolved { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; background: var(--bxa-ok-bg); border-top: 1px solid #b7dcc2; }
.bxs-resolved form { margin: 0; }
.bxs-solved { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bxs-stars { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.bxs-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bxs-stars label { cursor: pointer; font-size: 20px; color: #c9d3df; padding: 2px; line-height: 1; }
.bxs-stars input:checked ~ label, .bxs-stars label:hover, .bxs-stars label:hover ~ label { color: #F0620D; }
.bxs-stars input:focus-visible + label { outline: 3px solid #f0a46e; outline-offset: 1px; border-radius: 4px; }
@media (max-width: 560px) { .bxs-cats { grid-template-columns: 1fr; } .bxs-avail { font-size: 12.5px; } }
