/* Nexus homepage (marketing.home only). Brand: navy + Nexus blue from the logo. */
:root {
    --nxh-navy: #0A1733;
    --nxh-navy-2: #13254A;
    --nxh-line-dark: #2A4A80;
    --nxh-blue: #0A62F5;
    --nxh-blue-dark: #0848B8;
    --nxh-cyan: #13B5F0;
    --nxh-ground: #F4F7FB;
    --nxh-ink: #0E1A2B;
    --nxh-muted: #4A5870;
    --nxh-line: #DDE5F0;
    --nxh-on-dark: #C9D6EE;
    --nxh-on-dark-2: #8FA6CC;
    --nxh-display: "Readex Pro", "Alexandria", sans-serif;
    --nxh-body: "IBM Plex Sans Arabic", "Alexandria", Tahoma, sans-serif;
}

body.nx-guest { background: var(--nxh-ground); }

/* The shared nav and footer take the brand look on the homepage. */
.nx-guest .nx-guest-nav { background: var(--nxh-navy); border-bottom: 1px solid #1B2D52; }
.nx-guest .nx-guest-nav .nx-guest-brand,
.nx-guest .nx-guest-nav .nx-guest-nav-link { color: #FFFFFF; }
.nx-guest .nx-guest-nav .nx-guest-nav-link { color: var(--nxh-on-dark); }
.nx-guest .nx-guest-nav .nx-btn-ghost { color: #FFFFFF; border-color: #34507F; background: transparent; }
.nx-guest .nx-guest-nav .nx-btn-primary { background: var(--nxh-blue); border-color: var(--nxh-blue); }
.nx-guest .nx-guest-footer { background: var(--nxh-navy); color: var(--nxh-on-dark); border-top: 0; }
.nx-guest .nx-guest-footer a { color: var(--nxh-on-dark); }
.nx-guest .nx-guest-main { padding: 0; max-width: none; }

.nxh { font-family: var(--nxh-body); color: var(--nxh-ink); }
.nxh h1, .nxh h2, .nxh h3, .nxh strong { font-family: var(--nxh-display); }
.nxh-wrap { max-width: 1248px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }

/* Buttons */
.nxh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 600; font-size: 1.0625rem; text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.nxh-btn-primary { background: var(--nxh-blue); color: #FFFFFF; }
.nxh-btn-primary:hover { background: var(--nxh-blue-dark); color: #FFFFFF; }
.nxh-btn-outline { border-color: #34507F; color: #FFFFFF; }
.nxh-btn-outline:hover { border-color: var(--nxh-cyan); color: #FFFFFF; }
.nxh-btn-soft { border-color: var(--nxh-blue); color: var(--nxh-blue); background: #FFFFFF; }
.nxh-btn-soft:hover { background: #EAF1FE; }
.nxh-btn-white { background: #FFFFFF; color: var(--nxh-navy); }
.nxh-btn-white:hover { background: #EAF1FE; color: var(--nxh-navy); }

/* Hero */
.nxh-hero { background: var(--nxh-navy); color: #FFFFFF; padding: 72px 0 80px; }
.nxh-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; }
.nxh-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--nxh-navy-2); border: 1px solid var(--nxh-line-dark); color: #9ED9F7; font-size: .95rem; }
.nxh-badge svg { color: var(--nxh-cyan); }
.nxh-hero h1 { margin: 28px 0 0; font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1.3; font-weight: 700; }
.nxh-hero h1 span { color: var(--nxh-cyan); }
.nxh-lede { margin: 24px 0 0; font-size: 1.25rem; line-height: 1.8; color: var(--nxh-on-dark); max-width: 620px; }
.nxh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.nxh-actions .nxh-btn { min-height: 58px; font-size: 1.125rem; }
.nxh-hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; color: var(--nxh-on-dark-2); font-size: .95rem; }
.nxh-hero-meta li + li::before { content: "•"; margin-inline-end: 24px; }

/* Phone with the WhatsApp conversation */
.nxh-hero-grid > * { min-width: 0; }
.nxh-phone { width: 100%; max-width: 400px; box-sizing: border-box; border-radius: 44px; background: #04091A; padding: 12px; border: 1px solid #2A3E66; }
.nxh-phone-screen { border-radius: 34px; overflow: hidden; background: #ECE5DD; color: var(--nxh-ink); }
.nxh-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #075E54; color: #FFFFFF; }
.nxh-chat-head img { width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; object-fit: contain; }
.nxh-chat-head div { display: flex; flex-direction: column; }
.nxh-chat-head strong { font-size: .95rem; font-family: var(--nxh-body); }
.nxh-chat-head small { font-size: .75rem; color: #CDE9E4; }
.nxh-chat { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 18px; font-size: .875rem; line-height: 1.6; }
.nxh-msg { margin: 0; max-width: 80%; padding: 8px 12px; }
.nxh-msg-in { align-self: flex-start; background: #DCF8C6; border-radius: 12px 4px 12px 12px; }
.nxh-msg-out { align-self: flex-end; background: #FFFFFF; border-radius: 4px 12px 12px 12px; }
[dir="ltr"] .nxh-msg-in { border-radius: 4px 12px 12px 12px; }
[dir="ltr"] .nxh-msg-out { border-radius: 12px 4px 12px 12px; }
.nxh-cards { display: flex; gap: 8px; overflow: hidden; }
.nxh-card { width: 176px; flex-shrink: 0; background: #FFFFFF; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.nxh-card-img { height: 90px; display: flex; align-items: center; justify-content: center; }
.nxh-card-img-sea { background: #0E7FB8; }
.nxh-card-img-green { background: #12957A; }
.nxh-card-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.nxh-card-body strong { font-size: .8rem; font-family: var(--nxh-body); }
.nxh-card-body span { font-size: .75rem; color: var(--nxh-muted); }
.nxh-card-body b { font-size: .75rem; color: var(--nxh-blue); }
.nxh-card-btn { border-top: 1px solid #E6ECF3; padding: 8px; text-align: center; color: #0A7E6E; font-weight: 600; font-size: .8rem; }
.nxh-handoff { align-self: center; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--nxh-blue); color: #FFFFFF; font-size: .75rem; font-weight: 600; }

/* Trust strip */
.nxh-trust { background: #FFFFFF; border-bottom: 1px solid var(--nxh-line); padding: 32px 0; }
.nxh-trust-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.nxh-trust-row p { margin: 0; color: var(--nxh-muted); font-weight: 500; font-size: 1.05rem; max-width: 240px; line-height: 1.6; }
.nxh-logos { flex-grow: 1; display: flex; align-items: center; justify-content: space-around; gap: 32px; flex-wrap: wrap; }
.nxh-logos img { height: 64px; width: auto; object-fit: contain; }
.nxh-channels { display: flex; gap: 12px; }
.nxh-chip { padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.nxh-chip-wa { background: #EAF7F1; color: #0B6B4F; }
.nxh-chip-ms { background: #EAF1FE; color: var(--nxh-blue-dark); }

/* Sections */
.nxh-section { padding: 72px 0 24px; }
.nxh-head { text-align: center; margin-bottom: 40px; }
.nxh-head h2, .nxh-faq h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.4; }
.nxh-head p { margin: 12px 0 0; color: var(--nxh-muted); font-size: 1.15rem; }
.nxh-center { text-align: center; }
.nxh-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nxh-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nxh-box { background: #FFFFFF; border: 1px solid var(--nxh-line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.nxh-box h3 { margin: 0; font-size: 1.35rem; }
.nxh-box p { margin: 0; color: var(--nxh-muted); font-size: 1.02rem; line-height: 1.8; }
.nxh-icon { width: 52px; height: 52px; border-radius: 14px; background: #EAF1FE; color: var(--nxh-blue); display: flex; align-items: center; justify-content: center; }
.nxh-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nxh-tags span { padding: 4px 12px; border-radius: 999px; background: #EAF1FE; color: var(--nxh-blue-dark); font-size: .9rem; }
.nxh-step { background: #FFFFFF; border: 1px solid var(--nxh-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.nxh-step span { font-family: var(--nxh-display); font-size: 2.4rem; font-weight: 700; color: var(--nxh-cyan); line-height: 1; }
.nxh-step strong { font-size: 1.2rem; }
.nxh-step p { margin: 0; color: var(--nxh-muted); line-height: 1.8; }
.nxh-step-last { background: var(--nxh-blue); border-color: var(--nxh-blue); color: #FFFFFF; }
.nxh-step-last span { color: #BFE6FB; }
.nxh-step-last p { color: #E3EEFF; }

/* Pricing */
.nxh-plan { background: #FFFFFF; border: 1px solid var(--nxh-line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.nxh-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nxh-plan-top strong { font-size: 1.45rem; }
.nxh-plan-badge { padding: 4px 12px; border-radius: 999px; background: var(--nxh-cyan); color: #04213A; font-size: .8rem; font-weight: 700; }
.nxh-plan-price b { font-family: var(--nxh-display); font-size: 2.75rem; }
.nxh-plan-price span { color: var(--nxh-muted); }
.nxh-plan-price .nxh-plan-custom { font-size: 2rem; }
.nxh-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #26344D; }
.nxh-plan li::before { content: "✓"; color: var(--nxh-blue); font-weight: 700; margin-inline-end: 10px; }
.nxh-plan .nxh-btn { margin-top: auto; }
.nxh-plan.is-featured { background: var(--nxh-navy); color: #FFFFFF; border: 2px solid var(--nxh-cyan); }
.nxh-plan.is-featured .nxh-plan-price span, .nxh-plan.is-featured ul { color: #DCE6F7; }
.nxh-plan.is-featured li::before { color: var(--nxh-cyan); }

/* FAQ */
.nxh-faq { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.nxh-faq-list { display: flex; flex-direction: column; gap: 14px; }
.nxh-faq details { background: #FFFFFF; border: 1px solid var(--nxh-line); border-radius: 16px; padding: 20px 24px; }
.nxh-faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.nxh-faq details p { margin: 12px 0 0; color: var(--nxh-muted); line-height: 1.8; }

/* Final CTA */
.nxh-cta { margin-block: 56px 72px; border-radius: 28px; background: var(--nxh-blue); color: #FFFFFF; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nxh-wrap.nxh-cta { max-width: 1200px; }
.nxh-cta h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.4; }
.nxh-cta p { margin: 10px 0 0; color: #E3EEFF; font-size: 1.15rem; }
.nxh-cta .nxh-btn { flex-shrink: 0; min-height: 60px; font-size: 1.15rem; }

/* Floating WhatsApp */
.nxh-float { position: fixed; inset-inline-start: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: #0B8A5E; color: #FFFFFF; font-weight: 600; border: 3px solid #FFFFFF; box-shadow: 0 8px 24px rgba(10, 23, 51, .25); text-decoration: none; }
.nxh-float:hover { background: #09744F; color: #FFFFFF; }

/* Tablet */
@media (max-width: 1024px) {
    .nxh-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .nxh-phone { max-width: 400px; margin-inline: auto; }
    .nxh-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nxh-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nxh-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
    .nxh-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* The shared top bar on small screens: links move out, login stays reachable. */
@media (max-width: 860px) {
    .nx-guest .nx-guest-nav-links { display: none; }
}

@media (max-width: 520px) {
    .nx-guest .nx-guest-nav-inner { padding-inline: 16px; gap: 12px; }
    .nx-guest .nx-guest-nav .nx-btn-primary { display: none; }
}

/* Phone */
@media (max-width: 640px) {
    .nxh-phone { border-radius: 32px; padding: 8px; }
    .nxh-phone-screen { border-radius: 26px; }
    .nxh-card { width: 150px; }
    .nxh-wrap { padding-inline: 16px; }
    .nxh-hero { padding: 36px 0 44px; }
    .nxh-lede { font-size: 1.05rem; }
    .nxh-actions .nxh-btn { width: 100%; }
    .nxh-grid-3, .nxh-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .nxh-section { padding-top: 48px; }
    .nxh-trust-row { flex-direction: column; text-align: center; }
    .nxh-trust-row p { max-width: none; }
    .nxh-logos img { height: 48px; }
    .nxh-cta { flex-direction: column; align-items: stretch; padding: 32px 20px; margin-inline: 16px; }
    .nxh-cta .nxh-btn { width: 100%; }
    .nxh-float span { display: none; }
    .nxh-float { padding: 0; width: 58px; justify-content: center; }
}

/* ================= Product tour (#demo) ================= */
.nxd { padding: 72px 0 24px; }
.nxd-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.nxd-tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--nxh-line); background: #FFFFFF; color: var(--nxh-muted); font: inherit; font-weight: 600; cursor: pointer; }
.nxd-tab-num { width: 26px; height: 26px; border-radius: 50%; background: #EAF1FE; color: var(--nxh-blue); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.nxd-tab.is-active { border-color: var(--nxh-blue); color: var(--nxh-ink); }
.nxd-tab.is-active .nxd-tab-num { background: var(--nxh-blue); color: #FFFFFF; }
.nxd-tab-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--nxh-blue); transform: scaleX(0); transform-origin: inline-start; }
[dir="rtl"] .nxd-tab-progress { transform-origin: right; }
[dir="ltr"] .nxd-tab-progress { transform-origin: left; }
.nxd-tab:not(.is-active) .nxd-tab-progress { display: none; }

.nxd-stage { background: var(--nxh-navy); border-radius: 28px; padding: 40px; min-height: 560px; box-sizing: border-box; }
.nxd-scene { display: none; }
.nxd-scene.is-active { display: block; }
.nxd-scene-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.nxd-scene-grid > * { min-width: 0; }
.nxd-caption strong { display: block; color: #FFFFFF; font-family: var(--nxh-display); font-size: 1.6rem; line-height: 1.4; }
.nxd-caption p { margin: 14px 0 0; color: var(--nxh-on-dark); font-size: 1.05rem; line-height: 1.8; }
.nxd-note { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; background: var(--nxh-navy-2); color: var(--nxh-on-dark-2); font-size: .8rem; }

/* Appearing pieces (only once the script runs; without it everything shows). */
.nxd.is-ready [data-at] { transition: opacity .35s ease, transform .35s ease; }
.nxd.is-ready [data-at]:not(.is-shown) { opacity: 0; transform: translateY(8px); pointer-events: none; }
.nxd.is-ready .nxd-typing:not(.is-shown),
.nxd.is-ready .nxd-moving:not(.is-shown) { display: none; }

/* Phone */
.nxd-phone { width: 100%; box-sizing: border-box; max-width: 380px; margin-inline: auto; border-radius: 36px; background: #04091A; padding: 10px; border: 1px solid #2A3E66; }
.nxd-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #075E54; color: #FFFFFF; border-radius: 28px 28px 0 0; }
.nxd-chat-head div { display: flex; flex-direction: column; }
.nxd-chat-head strong { font-size: .95rem; }
.nxd-chat-head small { font-size: .75rem; color: #CDE9E4; }
.nxd-brand-avatar, .nxh-brand-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: #0E7FB8; display: inline-flex; align-items: center; justify-content: center; }
.nxd-chat { min-height: 440px; background: #ECE5DD; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 18px; font-size: .875rem; line-height: 1.6; color: var(--nxh-ink); }
.nxd-msg { margin: 0; max-width: 80%; padding: 8px 12px; }
.nxd-in { align-self: flex-start; background: #DCF8C6; border-radius: 12px 4px 12px 12px; }
.nxd-out { align-self: flex-end; background: #FFFFFF; border-radius: 4px 12px 12px 12px; }
[dir="ltr"] .nxd-in { border-radius: 4px 12px 12px 12px; }
[dir="ltr"] .nxd-out { border-radius: 12px 4px 12px 12px; }
.nxd-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.nxd-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA7B6; animation: nxd-dot 1s infinite ease-in-out; }
.nxd-typing i:nth-child(2) { animation-delay: .15s; }
.nxd-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nxd-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.nxd-carousel { overflow: hidden; }
.nxd-track { display: flex; gap: 8px; }
.nxd-carousel.is-shown .nxd-track { animation: nxd-swipe 2.4s ease-in-out .8s both; }
[dir="rtl"] .nxd-carousel.is-shown .nxd-track { animation-name: nxd-swipe-rtl; }
@keyframes nxd-swipe { 0% { transform: translateX(0); } 50% { transform: translateX(-120px); } 100% { transform: translateX(-60px); } }
@keyframes nxd-swipe-rtl { 0% { transform: translateX(0); } 50% { transform: translateX(120px); } 100% { transform: translateX(60px); } }
.nxd-card { width: 168px; flex-shrink: 0; background: #FFFFFF; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.nxd-card-img { height: 84px; }
.nxd-sea { background: #0E7FB8; }
.nxd-green { background: #12957A; }
.nxd-sand { background: #C98A2E; }
.nxd-card-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.nxd-card-body strong { font-size: .78rem; }
.nxd-card-body span { font-size: .72rem; color: var(--nxh-muted); }
.nxd-card-body b { font-size: .72rem; color: var(--nxh-blue); }
.nxd-card-btn { border-top: 1px solid #E6ECF3; padding: 8px; text-align: center; color: #0A7E6E; font-weight: 600; font-size: .78rem; }
.nxd.is-ready .nxd-tap { opacity: 1 !important; transform: none !important; }
.nxd-tap.is-shown { background: #D9F2EC; animation: nxd-pulse .6s ease 2; }
@keyframes nxd-pulse { 50% { background: #B6E6DA; } }
.nxd-chip { align-self: center; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--nxh-blue); color: #FFFFFF; font-size: .75rem; font-weight: 600; }

/* App windows */
.nxd-window { background: #FFFFFF; border-radius: 18px; overflow: hidden; color: var(--nxh-ink); }
.nxd-window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #EEF2F8; border-bottom: 1px solid var(--nxh-line); }
.nxd-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9D3E2; }
.nxd-window-bar strong { margin-inline-start: 8px; font-size: .9rem; }

.nxd-inbox { display: grid; grid-template-columns: minmax(0, 1fr) 240px; min-height: 380px; }
.nxd-list { list-style: none; margin: 0; padding: 8px; border-inline-end: 1px solid var(--nxh-line); display: flex; flex-direction: column; gap: 6px; }
.nxd-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; }
.nxd-row div { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.nxd-row strong { font-size: .9rem; }
.nxd-row small { color: var(--nxh-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxd-row.is-new.is-shown { background: #EAF1FE; box-shadow: inset 3px 0 0 var(--nxh-blue); }
.nxd-avatar { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #E3E9F3; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.nxd-pill { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: #F0F3F8; color: var(--nxh-muted); font-size: .72rem; font-weight: 600; }
.nxd-pill-blue { background: var(--nxh-blue); color: #FFFFFF; }
.nxd-summary { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #FAFBFD; }
.nxd-summary > strong { font-size: .95rem; }
.nxd-summary dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .82rem; }
.nxd-summary dl div { display: flex; justify-content: space-between; gap: 8px; }
.nxd-summary dt { color: var(--nxh-muted); }
.nxd-summary dd { margin: 0; font-weight: 600; text-align: end; }
.nxd-assign { padding: 8px 10px; border-radius: 10px; background: #EAF7F1; color: #0B6B4F; font-size: .78rem; font-weight: 600; }

.nxd-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 14px; min-height: 360px; background: #F6F8FB; }
.nxd-col { display: flex; flex-direction: column; gap: 8px; }
.nxd-col-title { font-size: .8rem; font-weight: 700; color: var(--nxh-muted); padding: 4px 2px 8px; border-bottom: 2px solid var(--nxh-line); }
.nxd-deal { background: #FFFFFF; border: 1px solid var(--nxh-line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px; font-size: .78rem; }
.nxd-deal strong { font-size: .85rem; }
.nxd-deal small { color: var(--nxh-muted); }
.nxd-deal span { color: var(--nxh-blue); font-weight: 600; }
.nxd-moving { border-color: var(--nxh-blue); box-shadow: 0 6px 16px rgba(10, 98, 245, .15); }
.nxd-ghost { opacity: .75; }

.nxd-feed { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 340px; }
.nxd-feed li { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--nxh-line); border-radius: 14px; }
.nxd-feed li div { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.nxd-feed strong { font-size: .9rem; }
.nxd-feed small { color: var(--nxh-muted); font-size: .78rem; }
.nxd-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.nxd-dot-blue { background: var(--nxh-blue); }
.nxd-dot-amber { background: #E0A100; }
.nxd-dot-green { background: #12957A; }
.nxd-done { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: #EAF7F1; color: #0B6B4F; font-size: .75rem; font-weight: 700; }

.nxd-report { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.nxd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nxd-kpis div { border: 1px solid var(--nxh-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.nxd-kpis small { color: var(--nxh-muted); font-size: .78rem; }
.nxd-kpis strong { font-family: var(--nxh-display); font-size: 1.6rem; }
.nxd-bars { display: flex; flex-direction: column; gap: 10px; }
.nxd-bars-title { font-weight: 700; font-size: .9rem; }
.nxd-bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 32px; align-items: center; gap: 10px; font-size: .85rem; }
.nxd-bar-row i { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--nxh-blue), var(--nxh-cyan)); width: var(--w); }
.nxd.is-ready .nxd-bar-row i { width: 0; transition: width .9s ease; }
.nxd.is-ready .nxd-bar-row.is-shown i { width: var(--w); }
.nxd-bar-row b { text-align: end; }

@media (max-width: 1024px) {
    .nxd-scene-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .nxd-stage { padding: 28px 20px; }
}

@media (max-width: 640px) {
    .nxd-tab { min-height: 44px; padding: 0 12px; font-size: .85rem; }
    .nxd-tab span:not(.nxd-tab-num) { display: none; }
    .nxd-tab.is-active span:not(.nxd-tab-num) { display: inline; }
    .nxd-stage { border-radius: 20px; padding: 20px 12px; }
    .nxd-inbox { grid-template-columns: minmax(0, 1fr); }
    .nxd-list { border-inline-end: 0; border-bottom: 1px solid var(--nxh-line); }
    .nxd-board { grid-template-columns: repeat(5, 150px); overflow-x: auto; }
    .nxd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nxd-bar-row { grid-template-columns: 90px minmax(0, 1fr) 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .nxd *, .nxd *::before { animation: none !important; transition: none !important; }
}
