/* Shared custom CSS for the generated pages (site/build.mjs). Tailwind utilities come from dist/styles.css. */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }
html, body { background: #F6F9F9; color: #154762; overflow-x: hidden; }
body {
  font-family: "Zain", "Quicksand", system-ui, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1, "kern" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.display { font-family: "Zain", "Quicksand", system-ui, sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance; }
.display-xl { font-weight: 900; line-height: 1.08; }
p, li { line-height: 1.7; }
.bg-dots { background-image: radial-gradient(rgba(22,72,99,0.08) 1px, transparent 1px); background-size: 18px 18px; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-reveal { opacity: 1 !important; transform: none !important; }
.card-hover { transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.card-hover:hover { transform: translateY(-2px); border-color: #417C9C; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] > summary .faq-chev { transform: rotate(180deg); }
.faq-chev { transition: transform .2s var(--ease-out); }
.btn-press { transition: transform 120ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.btn-press:active { transform: translateY(1px); }
[dir="rtl"] .flip-x { transform: scaleX(-1); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(65,124,156,0.35); border-radius: 8px; }
.eyebrow { font-size: 13px; letter-spacing: 0.04em; color: #417C9C; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: #417C9C; display: inline-block; }
.eyebrow.on-dark { color: #90D2E1; }
.eyebrow.on-dark::before { background: #90D2E1; }
.link-under { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; padding-bottom: 1px; }
.nav-glass { background: rgba(246, 249, 249, 0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ── Nav dropdowns ── */
.dd { position: relative; }
.dd > summary { display: inline-flex; align-items: center; gap: 4px; }
.dd > summary .chev { transition: transform .18s var(--ease-out); }
.dd[open] > summary .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 12px); inset-inline-start: -12px; min-width: 300px; background: #FAFCFC; border: 1px solid #CDDFDC; border-radius: 14px; padding: 8px; box-shadow: 0 3px 0 rgba(44,82,100,0.06), 0 22px 44px -20px rgba(44,82,100,0.35); z-index: 60; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; }
.dd-item:hover { background: #F1F6F5; }
.mnav-panel { max-height: calc(100vh - 64px); overflow-y: auto; }

/* ── Browser frame (inbox mock) ── */
.browser-frame { background:#fff; border:1px solid #CDDFDC; border-radius:14px; overflow:hidden; box-shadow:0 4px 0 rgba(44,82,100,0.06), 0 30px 60px -24px rgba(44,82,100,0.35), 0 14px 28px -16px rgba(44,82,100,0.22); }
.browser-chrome { display:flex; align-items:center; gap:10px; padding:10px 14px; background:linear-gradient(#F4F7F7,#ECF1F1); border-bottom:1px solid #CDDFDC; }
.traffic-dot { width:11px; height:11px; border-radius:50%; }
.url-pill { flex:1; background:#fff; border:1px solid #CDDFDC; border-radius:999px; padding:5px 14px; font-family:'Quicksand','Zain',system-ui,sans-serif; font-size:12px; color:#6B8597; font-weight:600; text-align:center; direction:ltr; }
.app-view { display:grid; grid-template-columns: 250px 1fr 210px; background:#fff; height:450px; }
.app-view.two { grid-template-columns: 250px 1fr; }
.inbox-col { background:#F6F9F9; border-left:1px solid #EAF0EF; display:flex; flex-direction:column; min-width:0; }
.inbox-top { padding:10px 12px; border-bottom:1px solid #EAF0EF; background:#fff; font-size:12px; font-weight:800; color:#154762; display:flex; justify-content:space-between; align-items:center; }
.inbox-list { flex:1; overflow:hidden; padding:8px; display:flex; flex-direction:column; gap:6px; }
.inbox-item { background:#fff; border:1px solid #EAF0EF; border-radius:10px; padding:9px; display:flex; gap:9px; align-items:flex-start; }
.inbox-item.active { border-color:#90D2E1; background:#F0FAFB; }
.inbox-item .avatar { width:28px; height:28px; border-radius:50%; background:#D6F2ED; color:#164863; display:grid; place-items:center; font-size:12px; font-weight:800; flex-shrink:0; }
.inbox-item .meta { flex:1; min-width:0; }
.inbox-item .name { font-size:12px; font-weight:800; color:#154762; }
.inbox-item .time { font-size:9.5px; color:#6B8597; font-weight:600; }
.inbox-item .preview { font-size:11px; color:#39637B; margin-top:2px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ch { width:18px; height:18px; border-radius:5px; display:grid; place-items:center; flex-shrink:0; color:#fff; }
.ch svg { width:11px; height:11px; }
.ch.wa { background:#25D366; } .ch.ig { background:linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); } .ch.em { background:#417C9C; } .ch.web { background:#164863; }
.ch.dd-ch { width:36px; height:36px; border-radius:10px; } .ch.dd-ch svg { width:18px; height:18px; }
.ch.dd-ch.sm { width:28px; height:28px; border-radius:8px; } .ch.dd-ch.sm svg { width:15px; height:15px; }
.chat-col { display:flex; flex-direction:column; min-width:0; background:#FBFDFD; }
.chat-bar { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-bottom:1px solid #EAF0EF; background:#fff; }
.chat-body { flex:1; overflow:hidden; padding:16px 14px; display:flex; flex-direction:column; gap:10px; background: radial-gradient(rgba(22,72,99,0.04) 1px,transparent 1px) 0 0/14px 14px, #FBFDFD; }
.msg { max-width:80%; display:flex; flex-direction:column; gap:3px; }
.msg-bubble { padding:8px 12px; font-size:13px; line-height:1.55; border-radius:14px; color:#154762; }
.msg.in { align-self:flex-start; } .msg.in .msg-bubble { background:#fff; border:1px solid #EAF0EF; border-bottom-right-radius:4px; }
.msg.out { align-self:flex-end; align-items:flex-end; } .msg.out .msg-bubble { background:#164863; color:#fff; border-bottom-left-radius:4px; }
.msg-sender { font-size:10.5px; color:#39637B; font-weight:700; display:flex; align-items:center; gap:5px; }
.ai-chip { display:inline-flex; align-items:center; gap:4px; font-size:10px; font-weight:800; color:#fff; background:#417C9C; padding:2px 7px; border-radius:999px; }
.ai-chip::before { content:"✦"; font-size:9px; }
.side-col { border-right:1px solid #EAF0EF; background:#fff; padding:14px 12px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.side-card { border:1px solid #EAF0EF; border-radius:10px; padding:10px; background:#F6F9F9; }
.side-label { font-size:10px; color:#6B8597; font-weight:800; letter-spacing:.04em; }
.callout { position:absolute; background:#FAFCFC; border:1px solid #CDDFDC; border-radius:12px; padding:10px 12px; box-shadow:0 3px 0 rgba(44,82,100,0.05), 0 14px 30px -12px rgba(44,82,100,0.3); align-items:center; gap:10px; max-width:240px; z-index:2; }

/* ── WhatsApp-style phone chat ── */
.wa-bg { background: radial-gradient(rgba(22,72,99,0.05) 1px, transparent 1px) 0 0/16px 16px, #E9EEEE; }
.bub-in { background:#fff; color:#154762; border-radius:16px 16px 16px 4px; box-shadow:0 1px 0 rgba(44,82,100,0.05); }
.bub-out { background:#D6F2ED; color:#154762; border-radius:16px 16px 4px 16px; box-shadow:0 1px 0 rgba(44,82,100,0.05); }
[dir="rtl"] .bub-in { border-radius:16px 16px 4px 16px; }
[dir="rtl"] .bub-out { border-radius:16px 16px 16px 4px; }

/* ── Logo strip ── */
.logo-tile { background:#F1F6F5; border:1px solid #CDDFDC; border-radius:14px; height:64px; display:flex; align-items:center; justify-content:center; padding:10px 18px; }
.logo-tile img { width:auto; object-fit:contain; opacity:.9; }

/* ── Sticky mobile CTA ── */
.sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,249,249,0.95); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-top: 1px solid #CDDFDC; transform: translateY(110%); transition: transform .32s var(--ease-out); }
.sticky-cta.show { transform: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ── Salla offer note ── */
.offer { width: 100%; max-width: 440px; background: #FFF8E8; border: 1px solid #EFD9A3; border-radius: 16px; padding: 14px 18px; text-align: start; color: #154762; }
.offer-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #8A6417; }
.offer-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #0E7A4B; }
.offer-list { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 16px; font-weight: 700; }
.offer-hint { margin-top: 6px; font-size: 13.5px; color: #4E6B7C; line-height: 1.6; }

/* ── Pricing tabs ── */
.tab-btn { height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 800; font-size: 15px; color: #39637B; border: 1px solid transparent; white-space: nowrap; }
.tab-btn[aria-selected="true"] { background: #164863; color: #fff; }
.seg-btn { height: 34px; padding: 0 14px; border-radius: 8px; font-weight: 800; font-size: 14px; color: #39637B; }
.seg-btn[aria-pressed="true"] { background: #fff; color: #164863; box-shadow: 0 1px 0 rgba(44,82,100,0.08), 0 2px 6px -2px rgba(44,82,100,0.2); }
[hidden] { display: none !important; }

/* ── Demo ── */
.demo-chat { height: 560px; }
.demo-scroll { scrollbar-width: thin; }
.chip-q { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 14px; border-radius:999px; background:#fff; border:1.5px solid #CDDFDC; color:#164863; font-weight:800; font-size:14.5px; white-space:nowrap; }
.chip-q:hover { border-color:#417C9C; }
.chip-q.done { background:#D6F2ED; border-color:#A8DED1; }
.chip-q[aria-current="true"] { background:#164863; color:#fff; border-color:#164863; }
.chip-q .n { width:20px; height:20px; border-radius:50%; background:#D6F2ED; color:#164863; display:grid; place-items:center; font-size:11.5px; }
.chip-q[aria-current="true"] .n { background:#90D2E1; }
.typing span { width:6px; height:6px; border-radius:50%; background:#417C9C; display:inline-block; animation: tp 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.pop { animation: pop .35s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card-hover:hover { transform: none !important; }
  .sticky-cta { transition: none; }
  .pop, .typing span { animation: none !important; }
}

/* Inbox mock on phones: show only the conversation column */
@media (max-width: 767px) {
  .app-view, .app-view.two { grid-template-columns: 1fr; height: 430px; }
  .app-view .inbox-col, .app-view .side-col { display: none; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .app-view { grid-template-columns: 230px 1fr; }
  .app-view .side-col { display: none; }
}

/* ── Round 5: journey-builder mock, logo wordmark ── */
.logo-word { font-family: 'Quicksand', 'Zain', sans-serif; font-weight: 700; letter-spacing: .32em; font-size: 19px; color: #164863; opacity: .9; direction: ltr; padding-left: .32em; }
.jf-canvas { background-color: #F1F6F5; background-image: radial-gradient(rgba(22,72,99,0.13) 1px, transparent 1px); background-size: 16px 16px; }
.jf-line { width: 2px; height: 18px; background: #B7CCC9; }
.jf-node { width: 100%; max-width: 340px; border-radius: 14px; }
.jf-trigger { background: #164863; color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 3px 0 rgba(44,82,100,0.10); }
.jf-msg { background: #FAFCFC; border: 1px solid #CDDFDC; padding: 10px 12px 12px; box-shadow: 0 3px 0 rgba(44,82,100,0.05), 0 8px 20px -10px rgba(44,82,100,0.25); }
.jf-pill { display: inline-flex; align-items: center; gap: 6px; background: #FAFCFC; border: 1px dashed #B7CCC9; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 800; color: #39637B; }
.jf-cond { width: auto; display: inline-flex; align-items: center; gap: 8px; background: #D6F2ED; border: 1px solid #A8DED1; padding: 8px 16px; font-size: 14.5px; font-weight: 800; color: #164863; }
.jf-branches { position: relative; width: 100%; max-width: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; }
.jf-branches::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 10px; background: #B7CCC9; }
.jf-branches::after { content: ''; position: absolute; top: 10px; left: 25%; right: 25%; height: 2px; background: #B7CCC9; }
.jf-branch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.jf-branch::before { content: ''; position: absolute; top: -10px; left: 50%; width: 2px; height: 10px; background: #B7CCC9; }
.jf-tag { font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 2px 10px; }
.jf-tag.yes { background: #E8F7EE; color: #1F7A4A; border: 1px solid #CFEBD9; }
.jf-tag.no { background: #FAFCFC; color: #6B8597; border: 1px solid #CDDFDC; }
.jf-end, .jf-small { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 9px 8px; font-size: 13.5px; font-weight: 800; text-align: center; }
.jf-end { background: #E8F7EE; color: #1F7A4A; border: 1px solid #CFEBD9; }
.jf-small { background: #FAFCFC; color: #164863; border: 1px solid #CDDFDC; }

/* ── WhatsApp pass: category tag on the /whatsapp hero mock ── */
.wa-cat { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; color: #39637B; background: rgba(250,252,252,0.9); border: 1px solid #CDDFDC; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }

/* ── Round 8: home customer-logos marquee (under the hero) ── */
.hl-marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hl-track { --g: 14px; display: flex; gap: var(--g); width: max-content; list-style: none; margin: 0; padding: 0; animation: hl-scroll 60s linear infinite; }
.hl-marquee:hover .hl-track { animation-play-state: paused; }
.hl-tile { flex: none; width: 176px; height: 64px; display: flex; align-items: center; justify-content: center; padding: 6px 20px; border-radius: 14px; background: #F1F6F5; border: 1px solid #CDDFDC; }
.hl-tile img { width: auto; max-width: 100%; object-fit: contain; opacity: .9; }
@keyframes hl-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--g) / 2)); } }
@media (max-width: 640px) { .hl-tile { width: 140px; height: 56px; padding: 5px 14px; } .hl-tile img { max-height: 44px !important; } .hl-track { --g: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .hl-marquee { -webkit-mask-image: none; mask-image: none; }
  .hl-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 20px; }
  .hl-tile[aria-hidden="true"] { display: none; }
}

/* ── Round 11: ONE shared WhatsApp chat system for every phone mock ──
   Customer's-phone perspective (the only view where Meta's interactive buttons exist):
   store messages = incoming (white, right in RTL), customer = outgoing (green, left) with ticks.
   Karam's layer (what the platform/agent did) is drawn OUTSIDE WhatsApp's look: .wa-note chips. */
.wa-phone { position: relative; margin: 0 auto; width: 100%; max-width: 340px; border-radius: 46px; background: #0F2A3A; padding: 9px; box-shadow: 0 4px 0 rgba(44,82,100,0.08), 0 30px 60px -24px rgba(15,42,58,0.45); }
.wa-screen { position: relative; border-radius: 38px; overflow: hidden; background: #EFEAE2; display: flex; flex-direction: column; }
.wa-status { height: 30px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; background: #fff; font-family: 'Quicksand', system-ui, sans-serif; font-size: 12px; font-weight: 700; color: #111B21; direction: ltr; }
.wa-status .isl { width: 84px; height: 22px; border-radius: 999px; background: #0F2A3A; }
.wa-status .sig { display: flex; gap: 4px; align-items: center; }
.wa-status .sig i { display: block; width: 3px; border-radius: 1px; background: #111B21; }
.wa-head { display: flex; align-items: center; gap: 9px; padding: 6px 12px 9px; background: #fff; border-bottom: 1px solid #E9EDEF; color: #111B21; }
.wa-head .back { color: #111B21; flex: none; }
.wa-head .av { width: 36px; height: 36px; border-radius: 50%; background: #164863; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.wa-head .nm { font-size: 15px; font-weight: 800; line-height: 1.25; }
.wa-head .sb { font-size: 11.5px; color: #667781; line-height: 1.3; }
.wa-head .ico { display: flex; gap: 14px; color: #111B21; margin-inline-start: auto; }
.wa-body { position: relative; flex: 1; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; line-height: 1.5; color: #111B21;
  background-color: #EFEAE2; background-image: radial-gradient(rgba(84,101,111,0.09) 1.2px, transparent 1.3px); background-size: 18px 18px; }
.wa-day { align-self: center; margin: 2px 0 8px; font-size: 11.5px; font-weight: 700; color: #54656F; background: #fff; border-radius: 8px; padding: 3px 10px; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
.wa-row { display: flex; }
.wa-row.in { justify-content: flex-start; }   /* RTL: start = right */
.wa-row.out { justify-content: flex-end; }    /* RTL: end = left */
.wa-row.gap { margin-top: 7px; }
.wa-b { position: relative; max-width: 82%; padding: 6px 9px 7px; border-radius: 9px; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
.wa-b.in { background: #fff; }
.wa-b.out { background: #D9FDD3; }
.wa-b.in.tail { border-top-right-radius: 0; }
.wa-b.out.tail { border-top-left-radius: 0; }
.wa-b.in.tail::before { content: ''; position: absolute; top: 0; right: -7px; width: 8px; height: 12px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-b.out.tail::before { content: ''; position: absolute; top: 0; left: -7px; width: 8px; height: 12px; background: #D9FDD3; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa-meta { float: left; display: inline-flex; align-items: center; gap: 3px; margin: 7px 10px -3px 0; font-size: 11px; line-height: 1; color: #667781; white-space: nowrap; }
.wa-meta .tk { color: #53BDEB; }
.wa-b.card { padding: 3px 3px 0; width: 82%; }
.wa-b.card .wa-txt { padding: 4px 7px 6px; }
.wa-hdr-img { border-radius: 7px; overflow: hidden; background: linear-gradient(160deg, #E6F4F1, #F4F8F8); display: grid; place-items: center; }
.wa-hdr-txt { padding: 6px 7px 0; font-weight: 800; font-size: 14.5px; }
.wa-foot { display: block; clear: both; padding: 0 7px 6px; font-size: 12px; color: #667781; }
.wa-btns { border-top: 1px solid #E9EDEF; margin: 0 -3px; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; font-size: 14.5px; font-weight: 700; color: #027EB5; }
.wa-btn + .wa-btn { border-top: 1px solid #E9EDEF; }
.wa-order { margin: 0 0 2px; border-radius: 7px; background: #F5F6F6; padding: 8px; display: flex; gap: 10px; align-items: center; }
.wa-order .th { width: 52px; height: 52px; border-radius: 8px; background: #E6F4F1; display: grid; place-items: center; flex: none; overflow: hidden; }
.wa-order .t1 { font-size: 13.5px; font-weight: 800; line-height: 1.35; }
.wa-order .t2 { font-size: 12.5px; color: #54656F; line-height: 1.4; }
.wa-sum { display: flex; justify-content: space-between; gap: 8px; padding: 6px 7px 0; font-size: 13px; color: #54656F; }
.wa-sum b { color: #111B21; font-weight: 800; }
.wa-price { font-size: 14px; font-weight: 800; color: #111B21; }
.wa-input { display: flex; align-items: center; gap: 7px; padding: 7px 8px 12px; background: #EFEAE2; }
.wa-input .fld { flex: 1; height: 38px; border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 14px; color: #8696A0; box-shadow: 0 1px 0.5px rgba(11,20,26,0.1); }
.wa-input .mic { width: 38px; height: 38px; border-radius: 50%; background: #1DAA61; color: #fff; display: grid; place-items: center; flex: none; }
/* Karam's layer: never looks like WhatsApp UI. */
.wa-note { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 4px; max-width: 94%; font-size: 12px; font-weight: 800; line-height: 1.35; color: #164863; background: #FAFCFC; border: 1px dashed #417C9C; border-radius: 999px; padding: 4px 10px; box-shadow: 0 2px 6px -2px rgba(22,72,99,0.25); }
.wa-note .n { width: 18px; height: 18px; border-radius: 50%; background: #164863; color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }
.wa-note.ok { color: #1F7A4A; border-color: #1DAA61; background: #F1FBF4; }
.wa-note.ok .n { background: #1DAA61; }
.wa-cap { margin-top: 12px; text-align: center; font-size: 12.5px; color: #6B8597; }
/* Home hero stage: phone + Karam platform card (desktop) / chip (phone) */
.stage { position: relative; }
.stage-card { position: absolute; z-index: 3; width: 228px; background: #FAFCFC; border: 1px solid #CDDFDC; border-radius: 16px; padding: 14px; box-shadow: 0 3px 0 rgba(44,82,100,0.06), 0 22px 44px -20px rgba(44,82,100,0.4); }
.stage-card .lbl { font-size: 11px; font-weight: 800; color: #6B8597; letter-spacing: .02em; }
.stage-card .row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #39637B; padding: 6px 0; border-top: 1px solid #EAF0EF; }
.stage-card .row b { color: #164863; font-weight: 800; }
.stage-sugg { margin-top: 10px; border-radius: 12px; background: #D6F2ED; border: 1px solid #A8DED1; padding: 8px 10px; font-size: 12.5px; font-weight: 700; color: #164863; line-height: 1.45; }
.stage-sugg .k { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: #417C9C; }
.stage-chip { position: relative; z-index: 3; display: none; margin: 0 auto -16px; width: max-content; max-width: 100%; align-items: center; gap: 8px; white-space: nowrap; background: #164863; color: #fff; border-radius: 999px; padding: 6px 12px 6px 6px; font-size: 12.5px; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(15,42,58,0.6); }
@media (max-width: 767px) { .stage-chip { display: flex; } }
.stage-chip .av { width: 24px; height: 24px; border-radius: 50%; background: #90D2E1; color: #164863; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; }
.stage-chip .k { color: #90D2E1; font-weight: 800; }
@media (max-width: 380px) { .wa-body { font-size: 14px; } .wa-phone { border-radius: 40px; } .wa-screen { border-radius: 32px; } }
.wa-body.fit .wa-b { max-width: 96%; }
.msg-time { font-size: 10px; color: #6B8597; padding: 0 4px; }
.msg-card { background: #fff; border: 1px solid #CDDFDC; border-radius: 14px; border-bottom-left-radius: 4px; padding: 10px; width: 250px; max-width: 100%; color: #154762; }
.msg-card-btn { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 8px; background: #F1F6F5; border: 1px solid #CDDFDC; font-size: 12px; font-weight: 800; color: #417C9C; }
.msg-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: #1F7A4A; background: #E8F7EE; border: 1px solid #CFEBD9; border-radius: 999px; padding: 3px 10px; }
.chat-compose { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 6px 6px 6px 12px; border: 1px solid #CDDFDC; border-radius: 10px; background: #fff; font-size: 12px; color: #6B8597; }
.side-sugg { border-radius: 10px; background: #D6F2ED; border: 1px solid #A8DED1; padding: 8px 10px; font-size: 11.5px; font-weight: 700; color: #164863; line-height: 1.45; }
.chat-body { justify-content: flex-end; min-height: 0; }
.app-view { grid-template-rows: minmax(0, 1fr); } .chat-col { min-height: 0; overflow: hidden; }
