/* JomConnect page only (2026-10-29). Inbox mock + flow diagram, in Ceriakom colours.
   flow.js is shared with jomcloud.my; it reads --fl-a / --fl-b. */
:root { --ink: var(--fg); --ink-2: var(--fg-2); --ink-mute: var(--muted); --hairline: var(--border-soft);
  --canvas: #fff; --canvas-soft: var(--surface-2); --indigo: var(--blue); --indigo-tint: var(--blue-bg); --indigo-deep: #174ea6;
  --shadow-3: 0 24px 48px -18px rgba(60,64,67,.35); }

.hero-quote { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 1rem; color: var(--fg-2); }
.hero-quote strong { color: var(--fg); font-weight: 500; }
.hero-quote svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--success); }
.hero-split > *, .jc-inbox { min-width: 0; }

.chan-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chan { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 500; padding: 6px 12px; border-radius: var(--radius-pill); background: #fff; color: var(--fg-2); border: 1px solid var(--border); }
.chan svg { width: 15px; height: 15px; color: var(--blue); }

.jc-inbox { background: #fff; color: var(--ink); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); padding: 16px; align-self: center; }
.jc-inbox .ib-head { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: var(--muted); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.jc-msg { display: flex; gap: 11px; align-items: flex-start; padding: 10px 11px; border-radius: 10px; border: 1px solid var(--border-soft); background: var(--surface-2); margin-bottom: 8px; }
.jc-msg:last-child { margin-bottom: 0; }
.jc-msg .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .76rem; font-weight: 500; flex: 0 0 auto; }
.jc-msg .body { flex: 1; min-width: 0; }
.jc-msg .who { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--fg); }
.jc-msg .who small { color: var(--muted); font-size: .74rem; font-weight: 400; }
.jc-msg .txt { font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-ch { display: inline-block; font-size: .66rem; font-weight: 600; letter-spacing: .03em; padding: 2px 7px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.jc-ch.wa { background: #e6f4ea; color: #137333; } .jc-ch.chat { background: var(--blue-bg); color: #174ea6; }
.jc-ch.mail { background: #fef7e0; color: #b06000; } .jc-ch.call { background: #e8f0fe; color: #1967d2; }
.jc-ch.ai { background: #f3e8fd; color: #8430ce; }

/* six explainers */
.feature-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 40px; }
.feature-cards .card .card-icon svg { width: 22px; height: 22px; }
.feature-cards .card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.feature-cards .card li { margin-bottom: 4px; }

.all-feats { display: block; columns: 2 320px; column-gap: 40px; margin: 36px 0 0; }
.all-feats li { break-inside: avoid; margin-bottom: 10px; }

/* flow diagram (flow.js) */
.jc-flow { --fl-a: #1a73e8; --fl-b: #34a853; position: relative; padding: 8px 0; margin-top: 40px; }
.fl-grid { position: relative; z-index: 1; display: grid; gap: 64px 0; }
@media (min-width: 960px) { .fl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, .85fr); gap: 0 88px; align-items: center; } }
.fl-col { min-width: 0; }
.fl-label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.fl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) and (max-width: 959px) { .fl-list:not(.fl-list--out) { grid-template-columns: 1fr 1fr; } }
.fl-node { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 13px; background: #fff; border: 1px solid var(--border-soft); border-radius: 13px; box-shadow: var(--shadow-1); min-width: 0; }
.fl-node__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); flex: none; }
.fl-ic { width: 20px; height: 20px; }
.fl-node__txt { display: grid; min-width: 0; }
.fl-node__txt b { font-size: .95rem; font-weight: 500; color: var(--fg); }
.fl-node__txt small { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 600; color: #8430ce; background: #f3e8fd; padding: 4px 8px; border-radius: 999px; flex: none; }
.fl-badge .fl-ic { width: 12px; height: 12px; }
.fl-col--hub { display: grid; place-items: center; }
.fl-hub { position: relative; width: 100%; max-width: 340px; padding: 30px 24px 24px; text-align: center; border-radius: 28px; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #1a73e8 0%, #174ea6 50%, #0d2c5e 100%); box-shadow: 0 30px 60px -24px rgba(23,78,166,.6), inset 0 1px 0 rgba(255,255,255,.15); }
.fl-hub__ring { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(106,181,71,.9), rgba(138,180,248,.8), rgba(106,181,71,.2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.fl-hub__logo { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #8ab4f8, #6ab547); box-shadow: 0 10px 30px -6px rgba(26,115,232,.6); margin-bottom: 14px; }
.fl-hub__logo .fl-ic { width: 28px; height: 28px; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .fl-hub__logo { animation: flGlow 3.6s ease-in-out infinite; } }
@keyframes flGlow { 50% { box-shadow: 0 10px 40px -2px rgba(106,181,71,.75); } }
.fl-hub__name { display: block; font-size: 1.45rem; font-weight: 500; }
.fl-hub__sub { display: block; font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.fl-hub__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.fl-hub__chips li { font-size: .76rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.fl-team { display: grid; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; box-shadow: var(--shadow-1); }
.fl-team--ai { border-color: #e9d2fd; background: linear-gradient(180deg, #faf5ff, #fff); }
.fl-team__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fl-team__head b { color: var(--fg); font-weight: 500; }
.fl-team__head small { color: var(--muted); font-size: .8rem; }
.fl-team__people { display: flex; }
.fl-av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 600; font-size: .72rem; box-shadow: 0 0 0 2px #fff; margin-right: -6px; flex: none; }
.fl-av--a { background: #1a73e8; } .fl-av--b { background: #34a853; } .fl-av--c { background: #f29900; } .fl-av--d { background: #12b5cb; }
.fl-av--ai { background: #9334e6; } .fl-av--ai .fl-ic { width: 17px; height: 17px; color: #fff; }
.fl-wires { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.fl-wire { fill: none; stroke-width: 1.6; opacity: .7; }
.fl-glow { fill: none; stroke: var(--fl-a); stroke-width: 6; opacity: .07; }
.fl-dot { fill: var(--fl-a); filter: drop-shadow(0 0 4px rgba(26,115,232,.9)); }
.fl-dot--out { fill: var(--fl-b); filter: drop-shadow(0 0 4px rgba(52,168,83,.9)); }
/* homepage JomConnect section (2026-10-30) */
.section-jc .jc-flow { text-align: left; margin-top: 48px; }
.jc-from { justify-content: center; margin-top: 36px; }
