/* askJBoss — "Bento" home page design (resources/views/home-bento.blade.php). Loaded only on that page. */
.bx {
  --bx-ink: #10201A; --bx-ink-2: #1E332B; --bx-sage: #A9BDB3; --bx-mint: #7BE0B0; --bx-gold: #F2B52B; --bx-coral: #E8553D;
  --bx-tile: #FFFFFF; --bx-soft: #EEF1EC; --bx-text: #10201A; --bx-muted: #5B6660;
  --bx-yellow: #FFE9A8; --bx-yellow-ink: #6B4A00; --bx-lilac: #E8E0F7; --bx-lilac-ink: #4B2F80; --bx-mintbg: #DDEFE6; --bx-mint-line: #C5E2D3;
  --bx-r: 26px;
  max-width: 1320px; margin: 0 auto; padding: 18px 24px 110px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: start;
  color: var(--bx-text);
}
html[data-theme="dark"] .bx {
  --bx-tile: #151D19; --bx-soft: #1D2722; --bx-text: #E7EEEA; --bx-muted: #9BA8A1;
  --bx-yellow: #3A3015; --bx-yellow-ink: #F6D77A; --bx-lilac: #2A2340; --bx-lilac-ink: #CDB8F5; --bx-mintbg: #16302A; --bx-mint-line: #23443A;
}
.bx a:not(.btn) { color: inherit; text-decoration: none; }
.bx h1, .bx h2 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
.bx-tile { background: var(--bx-tile); border-radius: var(--bx-r); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative; }
.bx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bx-head h2 { font-size: 21px; }
.bx-head a, .bx-head button { font-weight: 700; font-size: 14px; color: var(--green); background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.bx-s { font-size: 13px; color: var(--bx-muted); }
.bx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 14px; border: 0; background: var(--bx-soft); color: var(--bx-text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.bx-btn-dark { background: var(--bx-ink); color: #fff !important; }
html[data-theme="dark"] .bx-btn-dark { background: #E7EEEA; color: #0D1310 !important; }
.bx-btn-gold { background: var(--bx-gold); color: #10201A !important; }
.bx-btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---- Row 1 ---- */
.bx-hello { grid-column: span 6; }
.bx-where { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--bx-muted) !important; padding: 6px 12px; border-radius: 999px; background: var(--bx-soft); }
.bx-hello h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.03; }
.bx-hello h1 span { color: var(--green); }
.bx-lead { margin: 0; color: var(--bx-muted); font-size: 16px; line-height: 1.5; }
.bx-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-hello .qp { background: transparent; border: 0; padding: 0; box-shadow: none; }
.bx-hello .qp--compact .qp-area { background: var(--bx-soft); border-radius: 16px; }
.bx-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bx-type { height: 62px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-weight: 700; font-size: 13px; text-align: center; transition: transform .15s ease; }
.bx-type:hover { transform: translateY(-2px); }
.bx-type i { width: 10px; height: 10px; border-radius: 50%; }
.bx-c-g { background: #E3F1EA; } .bx-c-g i { background: #0B6E4F; }
.bx-c-b { background: #E4EEF8; } .bx-c-b i { background: #2C5D8F; }
.bx-c-y { background: #FFF4CC; } .bx-c-y i { background: #C98F00; }
.bx-c-o { background: #FFE6DA; } .bx-c-o i { background: #B4531F; }
.bx-c-p { background: #EDE5F8; } .bx-c-p i { background: #6B3FA0; }
.bx-type-all { background: var(--bx-ink); color: #fff !important; } .bx-type-all i { background: var(--bx-gold); }
html[data-theme="dark"] .bx-type:not(.bx-type-all) { color: #10201A !important; }

.bx-pulse { grid-column: span 3; background: var(--bx-ink); color: #E6EEE9; align-self: stretch; }
.bx-pulse .bx-head h2 { color: #fff; }
.bx-live { font-size: 12px; color: var(--bx-sage); display: inline-flex; align-items: center; gap: 6px; }
.bx-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--bx-mint); box-shadow: 0 0 0 4px rgba(123, 224, 176, .2); }
.bx-pulse .bx-s { color: var(--bx-sage); }
.bx-pulse-light { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; border-radius: 14px; }
.bx-pulse-light:focus-visible, .bx-mini > *:focus-visible { outline: 2px solid var(--bx-gold); outline-offset: 3px; }
.bx-k { font-size: 12px; color: var(--bx-sage); text-transform: uppercase; letter-spacing: .08em; }
.bx-big { font-family: var(--display); font-size: 46px; font-weight: 800; line-height: 1; }
.bx-big.good { color: var(--bx-mint); } .bx-big.bad { color: #FF8A73; } .bx-big.none { color: var(--bx-sage); }
.bx-bars { display: flex; gap: 2px; height: 22px; align-items: flex-end; }
.bx-bars i { flex: 1; border-radius: 2px; height: 30%; background: #3A5248; }
.bx-bars i.on { height: 100%; background: var(--bx-mint); }
.bx-bars i.off { height: 55%; background: #FF8A73; }
.bx-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.bx-mini > * { all: unset; cursor: pointer; display: flex; flex-direction: column; background: var(--bx-ink-2); border-radius: 14px; padding: 10px 12px; }
.bx-mini span { font-size: 11px; color: var(--bx-sage); text-transform: uppercase; letter-spacing: .06em; }
.bx-mini b { font-size: 16px; color: #fff; } .bx-mini b.good { color: var(--bx-mint); } .bx-mini b.bad { color: #FF8A73; }
.bx-pop { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-pop button { flex: 1; height: 38px; border-radius: 12px; border: 0; background: var(--bx-gold); color: #10201A; font: inherit; font-weight: 700; cursor: pointer; }
.bx-pop button + button { background: #2F4A3F; color: #fff; }
.bx-pulse-alerts { font-size: 13px; font-weight: 700; color: var(--bx-gold) !important; }

.bx-wallet { grid-column: span 3; background: var(--green); color: #fff; align-self: stretch; }
html[data-theme="dark"] .bx-wallet { background: #0F5A42; }
.bx-wallet .bx-head h2 { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.bx-wallet .bx-head a { color: #CFF3E2; }
.bx-wallet .bx-s { color: #CFF3E2; font-size: 14px; }
.bx-balance { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; }
.bx-pay { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(48px, 1fr); gap: 8px; margin-top: auto; flex: 1; max-height: 260px; }
.bx-pay a { min-height: 48px; border-radius: 14px; background: rgba(0, 0, 0, .18); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff !important; }
.bx-pay a:hover { background: rgba(0, 0, 0, .3); }

/* ---- Row 2 ---- */
.bx-news { grid-column: span 5; }
.bx-news ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bx-news li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--n-bg); }
.bx-news li b { width: 26px; height: 26px; border-radius: 50%; background: var(--n-c); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.bx-news li span { flex: 1; font-weight: 600; font-size: 14px; line-height: 1.3; }
.bx-news li small { color: var(--bx-muted); font-size: 12px; flex: none; }
.bx-n0 { --n-bg: #FFEDE8; --n-c: #E8553D; } .bx-n1 { --n-bg: #E8F1FB; --n-c: #2C5D8F; } .bx-n2 { --n-bg: #E7F5EE; --n-c: #0B6E4F; }
.bx-n3 { --n-bg: #FFF6DD; --n-c: #C98F00; } .bx-n4 { --n-bg: #F1EAFB; --n-c: #6B3FA0; } .bx-n5 { --n-bg: #E6F6F5; --n-c: #147E78; }
html[data-theme="dark"] .bx-news li a { background: var(--bx-soft); }

.bx-poll { grid-column: span 4; background: var(--bx-yellow); }
.bx-poll .bx-eyebrow { color: var(--bx-yellow-ink); }
.bx-poll h2 { font-size: 22px; line-height: 1.15; }
.bx-poll .poll-opt { border: 0; background: var(--bx-tile); border-radius: 12px; min-height: 42px; font-size: 14px; }
.bx-poll .poll-opt.mine { box-shadow: inset 0 0 0 2px var(--bx-yellow-ink); }
.bx-poll .poll-bar { background: #F6CF55; }
html[data-theme="dark"] .bx-poll .poll-bar { background: #5A4A1E; }
.bx-poll .bx-s { color: var(--bx-yellow-ink); }

.bx-people { grid-column: span 3; background: var(--bx-lilac); }
.bx-people ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bx-people li a { display: flex; gap: 10px; align-items: center; }
.bx-people li small { display: block; color: var(--bx-lilac-ink); font-size: 13px; }
.bx-people li b { font-size: 14px; }
.bx-face { position: relative; overflow: hidden; width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; background: var(--f); }
.bx-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bx-f0 { --f: #E8553D; } .bx-f1 { --f: #6B3FA0; } .bx-f2 { --f: #0B6E4F; } .bx-f3 { --f: #2C5D8F; } .bx-f4 { --f: #147E78; }
.bx-people .bx-more { color: var(--bx-lilac-ink); margin-top: auto; }

/* Row 2 widths (set in the view so the row is always full) */
.bx .bx-s3 { grid-column: span 3; } .bx .bx-s4 { grid-column: span 4; } .bx .bx-s5 { grid-column: span 5; }
.bx .bx-s7 { grid-column: span 7; } .bx .bx-s12 { grid-column: span 12; }
.bx-news, .bx-poll, .bx-people { align-self: stretch; }
.bx-askq h2 { font-size: 26px; line-height: 1.15; }
.bx-askq-body { margin: 0; color: var(--bx-yellow-ink); line-height: 1.5; }
.bx-askq-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.bx-askq-foot .bx-s, .bx-askq-more { color: var(--bx-yellow-ink); font-weight: 600; }

/* ---- Row 3 ---- */
.bx-feed { grid-column: span 8; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bx-tabs { display: flex; gap: 4px; background: var(--bx-tile); border-radius: 18px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
.bx-tabs::-webkit-scrollbar { display: none; }
.bx-tabs a { flex: 1 0 auto; text-align: center; height: 42px; line-height: 42px; padding: 0 14px; border-radius: 13px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.bx-tabs a.on { background: var(--bx-ink); color: #fff; }
html[data-theme="dark"] .bx-tabs a.on { background: #E7EEEA; color: #0D1310; }
.bx-scope { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bx-scope a { flex: none; display: inline-flex; gap: 6px; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bx-tile); font-weight: 700; font-size: 13px; }
.bx-scope a small { color: var(--bx-muted); font-weight: 600; }
.bx-scope a.on { background: var(--green); color: #fff; } .bx-scope a.on small { color: #CFF3E2; }
.bx-bar { display: flex; justify-content: space-between; background: var(--bx-tile); border-radius: 18px; padding: 14px 18px; }
.bx-bar a { color: var(--green); font-weight: 700; }
.bx-feed .post { border-radius: var(--bx-r); border: 0; }
.bx-feed .fm.card { border-radius: var(--bx-r); }

.bx-side { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bx-qotd { background: var(--bx-ink); color: #fff; }
.bx-qotd .bx-eyebrow { color: var(--bx-gold); }
.bx-qotd p { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.25; font-weight: 600; }
.bx-qotd .bx-btn { align-self: flex-start; }
.bx-mk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bx-mk a { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bx-mk-img { display: block; aspect-ratio: 1; border-radius: 16px; background: var(--bx-soft); overflow: hidden; margin-bottom: 4px; }
.bx-mk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-mk small { color: var(--bx-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-prices { background: var(--bx-mintbg); }
.bx-prices ul { list-style: none; margin: 0; padding: 0; }
.bx-prices li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--bx-mint-line); font-size: 14px; }
.bx-prices li:last-child { border-bottom: 0; }
.bx-prices i { font-style: normal; font-size: 12px; } .bx-prices i.up { color: #B4360C; } .bx-prices i.down { color: var(--green); }
.bx-link { font-weight: 700; font-size: 14px; color: var(--green) !important; }
.bx-stories > div { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.bx-stories a { flex: none; width: 64px; text-align: center; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-stories a span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 4px; border-radius: 18px; background: linear-gradient(135deg, var(--bx-coral), var(--bx-gold)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; }
.bx-tags > div { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-tags a { padding: 6px 12px; border-radius: 999px; background: var(--bx-soft); font-weight: 600; font-size: 13px; }

/* ---- Tablet ---- */
@media (max-width: 1180px) {
  .bx { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bx-hello { grid-column: span 6; }
  .bx-pulse, .bx-wallet { grid-column: span 3; }
  .bx .bx-news { grid-column: span 6; }
  .bx .bx-poll, .bx .bx-people { grid-column: span 3; }
  .bx .bx-poll.bx-s12, .bx .bx-people.bx-s12 { grid-column: span 6; }
  .bx-feed { grid-column: span 4; }
  .bx-side { grid-column: span 2; }
}
@media (max-width: 960px) {
  .bx-feed, .bx-side { grid-column: span 6; }
  .bx-side { display: grid; grid-template-columns: 1fr 1fr; }
}
/* ---- Phone ---- */
@media (max-width: 680px) {
  .bx { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 12px 110px; --bx-r: 22px; }
  .bx-tile { padding: 16px; }
  .bx-hello, .bx-feed, .bx-side, .bx .bx-news, .bx .bx-poll, .bx .bx-people { grid-column: span 2; }
  .bx-pulse, .bx-wallet { grid-column: span 2; }
  .bx-big { font-size: 38px; }
  .bx-balance { font-size: 30px; }
  .bx-pay { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .bx-pay a { height: 44px; font-size: 13px; }
  .bx-types { gap: 6px; }
  .bx-type { height: 56px; font-size: 12px; }
  .bx-people ul { flex-direction: row; overflow-x: auto; gap: 12px; scrollbar-width: none; }
  .bx-people li a { flex-direction: column; width: 72px; text-align: center; font-size: 12px; gap: 6px; }
  .bx-people li a > span:last-child { display: block; width: 100%; min-width: 0; }
  .bx-people li b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bx-people li small { display: none; }
  .bx-face { width: 60px; height: 60px; border-radius: 20px; }
  .bx-side { display: flex; }
}
/* Night mode: lift the dark tiles off the page */
html[data-theme="dark"] .bx-pulse, html[data-theme="dark"] .bx-qotd { background: #1B2A23; box-shadow: inset 0 0 0 1px #2C3F36; }
html[data-theme="dark"] .bx-mini > * { background: #24372E; }
html[data-theme="dark"] .bx-type-all { background: #2C3F36; }

/* ===== Compact scale (v2.62.2): smaller tiles, text and buttons ===== */
.bx { --bx-r: 18px; max-width: 1200px; gap: 10px; padding: 14px 20px 100px; font-size: 14px; }
.bx-tile { padding: 16px; gap: 9px; }
.bx-head h2 { font-size: 16px; }
.bx-head a, .bx-head button { font-size: 13px; }
.bx-s { font-size: 12px; }
.bx-eyebrow { font-size: 11px; }
.bx-btn { height: 36px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
.bx-where { font-size: 12px; padding: 4px 10px; }
.bx-hello h1 { font-size: clamp(22px, 2vw, 27px); line-height: 1.08; }
.bx-lead { font-size: 14px; }
.bx-hello .qp--compact .qp-area textarea { min-height: 42px; height: 42px; padding: 10px 14px; font-size: 14px; }
.bx-hello .qp--compact:not(.is-active) .qp-area textarea { height: 42px !important; min-height: 42px; }
.bx-hello .qp-post-inline { height: 42px; padding: 0 16px; font-size: 14px; }
.bx-types { gap: 6px; }
.bx-type { height: 46px; border-radius: 12px; font-size: 12px; gap: 3px; }
.bx-type i { width: 8px; height: 8px; }
.bx-k { font-size: 11px; }
.bx-big { font-size: 32px; }
.bx-bars { height: 16px; }
.bx-mini > * { padding: 7px 10px; border-radius: 11px; }
.bx-mini span { font-size: 10px; }
.bx-mini b { font-size: 14px; }
.bx-pop button { height: 32px; font-size: 13px; border-radius: 10px; }
.bx-pulse-alerts { font-size: 12px; }
.bx-wallet .bx-head h2 { font-size: 14px; }
.bx-balance { font-size: 26px; }
.bx-pay { gap: 6px; grid-auto-rows: minmax(38px, 1fr); max-height: 180px; }
.bx-pay a { min-height: 38px; border-radius: 11px; font-size: 13px; }
.bx-news ol { gap: 4px; }
.bx-news li a { padding: 6px 10px; gap: 9px; border-radius: 11px; }
.bx-news li b { width: 20px; height: 20px; font-size: 11px; }
.bx-news li span { font-size: 13px; }
.bx-news li small { font-size: 11px; }
.bx-poll h2, .bx-askq h2 { font-size: 18px; line-height: 1.2; }
.bx-askq-body { font-size: 13px; }
.bx-poll .poll-opt { min-height: 34px; font-size: 13px; border-radius: 10px; }
.bx-poll .poll { gap: 6px; }
.bx-people ul { gap: 7px; }
.bx-face { width: 34px; height: 34px; border-radius: 11px; font-size: 12px; }
.bx-people li b { font-size: 13px; }
.bx-people li small { font-size: 12px; }
.bx-tabs { padding: 4px; border-radius: 14px; }
.bx-tabs a { height: 34px; line-height: 34px; font-size: 13px; padding: 0 12px; border-radius: 10px; }
.bx-scope a { height: 30px; font-size: 12px; padding: 0 11px; }
.bx-feed { gap: 10px; }
.bx-feed .post { padding: 14px 16px; gap: 8px; border-radius: 16px; }
.bx-feed .post-title { font-size: 16px; }
.bx-feed .post-body { font-size: 14px; line-height: 1.5; }
.bx-side { gap: 10px; }
.bx-qotd p { font-size: 16px; }
.bx-mk { gap: 8px; }
.bx-mk-img { border-radius: 12px; }
.bx-mk b { font-size: 13px; }
.bx-mk small { font-size: 12px; }
.bx-prices li { padding: 6px 0; font-size: 13px; }
.bx-link { font-size: 13px; }
.bx-stories a { width: 54px; font-size: 11px; }
.bx-stories a span { width: 46px; height: 46px; border-radius: 14px; font-size: 16px; }
.bx-tags a { padding: 4px 10px; font-size: 12px; }
@media (max-width: 680px) {
  .bx { padding: 10px 10px 100px; gap: 8px; }
  .bx-tile { padding: 14px; }
  .bx-hello h1 { font-size: 22px; }
  .bx-type { height: 44px; font-size: 11px; }
  .bx-big { font-size: 30px; }
  .bx-balance { font-size: 24px; }
  .bx-pay a { min-height: 36px; font-size: 12px; }
  .bx-people li a { width: 60px; }
  .bx-face { width: 48px; height: 48px; border-radius: 15px; }
  .bx-people li b { font-size: 11px; }
}
.bx-wallet { justify-content: space-between; }
.bx-pay { flex: none; grid-auto-rows: 38px; max-height: none; }
.bx-askq-foot { margin-top: 4px; }
.bx-askq-more { margin-top: auto; }

/* Classic sidebar widgets (rates, weather, jobs, ads…) shown as Bento tiles */
.bx-side .home-side--bare { display: flex; flex-direction: column; gap: 10px; }
.bx-side .home-side--bare > *:not(.svc-wallet) { background: var(--bx-tile); border-radius: var(--bx-r); padding: 16px; margin: 0; }
.bx-side .home-side--bare > .side-ad, .bx-side .home-side--bare > .side-sticky, .bx-side .home-side--bare > .weather-w { padding: 0; background: transparent; overflow: hidden; }
.bx-side .home-side--bare > .weather-w { padding: 14px 16px; background: linear-gradient(135deg, #E8F3FB, #F3F8EE); }
html[data-theme="dark"] .bx-side .home-side--bare > .weather-w { background: var(--bx-tile); }
.bx-side .home-side--bare h2, .bx-side .home-side--bare h3 { font-size: 16px; }
.bx-side .home-side--bare > .svc-wallet { border-radius: var(--bx-r); margin: 0; }
.bx-side .live--compact { border-radius: var(--bx-r); padding: 16px; border: 0; }

/* Bigger post box in the greeting tile */
.bx-hello .qp--compact .qp-top { align-items: flex-start; }
.bx-hello .qp--compact .qp-area textarea,
.bx-hello .qp--compact:not(.is-active) .qp-area textarea { height: auto !important; min-height: 104px !important; padding: 14px 16px; font-size: 16px; line-height: 1.5; white-space: normal; overflow: auto; }
.bx-hello .qp--compact .qp-area { border-radius: 18px; }
.bx-hello .qp-post-inline { align-self: flex-end; height: 44px; }
@media (max-width: 680px) { .bx-hello .qp--compact .qp-area textarea, .bx-hello .qp--compact:not(.is-active) .qp-area textarea { min-height: 88px !important; } }

/* Writing a post must not make the greeting tile (and the whole first row) taller */
.bx-hello .qp-hint { display: none; }
.bx-hello .qp-taghints { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 6px 0 0; }
.bx-hello .qp-taghints::-webkit-scrollbar { display: none; }
.bx-hello .qp-taghints > * { flex: none; }
.bx-hello:has(.qp.is-active) .bx-types { display: none; }
.bx-hello .qp.is-active .qp-bar { margin-top: 6px; }
/* Phones, logged out: the hello tile already has "Join free" and "Show updates near me", so the two extra sign-up tiles are hidden */
@media (max-width: 699px) { .bx-guest-extra { display: none !important; } }
/* Guides strip */
.bx-guides { grid-column: 1 / -1; }
.bx-guides-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin: 0 -4px; padding: 0 4px 2px; }
.bx-guides-row::-webkit-scrollbar { display: none; }
.bx-guides-row a { display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; color: var(--ink); text-decoration: none; min-width: 0; }
.bx-guides-row img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; object-position: left center; border-radius: 12px; display: block; }
.bx-guides-row small { font-size: 12px; font-weight: 700; color: var(--green); }
.bx-guides-row b { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bx-guides-row a:hover b { text-decoration: underline; }
@media (max-width: 699px) { .bx-guides-row { grid-auto-columns: 72%; } .bx-guides .bx-head h2 { font-size: 18px; } }

/* Town Pulse: more prices */
.bx-pprices { display: flex; flex-direction: column; gap: 2px; background: var(--bx-ink-2); border-radius: 14px; padding: 10px 12px; }
.bx-pprices-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--bx-sage); margin-bottom: 2px; }
.bx-pprices-head a { color: var(--bx-gold) !important; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 12px; }
.bx-pprice { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; color: #E6EEE9 !important; font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.06); }
.bx-pprice span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-pprice b { color: #fff; white-space: nowrap; } .bx-pprice i { font-style: normal; font-size: 10px; } .bx-pprice i.up { color: #FF8A73; } .bx-pprice i.down { color: var(--bx-mint); }
.bx-pprice-add { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--bx-gold) !important; }
/* Wallet: message box + bulk SMS */
.bx-inbox { background: rgba(0,0,0,.16); border-radius: 14px; padding: 8px 10px; display: flex; flex-direction: column; }
.bx-inbox-head { display: flex; justify-content: space-between; align-items: center; color: #fff !important; font-weight: 700; font-size: 13.5px; padding: 2px 2px 6px; }
.bx-inbox-head small { color: #CFF3E2; font-weight: 600; font-size: 12px; }
.bx-inbox-n { background: var(--bx-gold, #F2B84B); color: #10201A; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; }
.bx-inbox-row { display: flex; align-items: center; gap: 8px; padding: 6px 2px; border-top: 1px solid rgba(255,255,255,.1); color: #fff !important; }
.bx-inbox-row img, .bx-inbox-av { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.bx-inbox-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.bx-inbox-txt b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-inbox-txt small { font-size: 12px; color: #CFF3E2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-inbox-row.is-new .bx-inbox-txt small { color: #fff; font-weight: 600; }
.bx-inbox-row.is-new::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bx-gold, #F2B84B); flex: none; }
.bx-inbox-row time { font-size: 11px; color: #CFF3E2; white-space: nowrap; }
.bx-inbox-empty { margin: 0; font-size: 12.5px; color: #CFF3E2; padding: 2px 2px 4px; line-height: 1.4; }
.bx-sms { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--bx-gold, #F2B84B); color: #10201A !important; }
.bx-sms > span:first-child { font-size: 20px; }
.bx-sms span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; } .bx-sms b { font-size: 14px; } .bx-sms small { font-size: 11.5px; opacity: .8; }
.bx-sms i { margin-left: auto; font-style: normal; font-weight: 800; }
.bx-sms:hover { filter: brightness(1.05); }
