/* ============================================================
   NephSolutions — Premium SaaS Theme  v2.0
   Primary Navy  : #0F2447
   Accent Green  : #5CB840
   Sky Blue      : #29B6D4
   ============================================================ */

:root {
    /* ── Brand palette ── */
    --ns-navy:         #0F2447;
    --ns-navy-dark:    #091832;
    --ns-navy-mid:     #1B3C6E;
    --ns-navy-light:   #254d8c;
    --ns-green:        #5CB840;
    --ns-green-dark:   #479630;
    --ns-green-light:  #7cce60;
    --ns-sky:          #29B6D4;
    --ns-sky-light:    #56c9e2;

    /* ── Surface tokens ── */
    --ns-bg:           #F0F4F8;
    --ns-bg-2:         #E8EEF4;
    --ns-card-bg:      #FFFFFF;
    --ns-border:       #E2E8F0;
    --ns-border-light: #F1F5F9;

    /* ── Text tokens ── */
    --ns-text:         #1E293B;
    --ns-text-muted:   #64748B;
    --ns-text-light:   #94A3B8;

    /* ── Sidebar tokens ── */
    --ns-sidebar-bg:       #0B1E3A;
    --ns-sidebar-bg2:      #0F2850;
    --ns-sidebar-border:   rgba(255,255,255,.07);
    --ns-sidebar-text:     rgba(255,255,255,.70);
    --ns-sidebar-text-dim: rgba(255,255,255,.35);
    --ns-sidebar-hover-bg: rgba(255,255,255,.06);
    --ns-sidebar-active-bg:rgba(92,184,64,.12);

    /* ── Shadows ── */
    --ns-shadow-xs: 0 1px 3px rgba(15,36,71,.05), 0 1px 2px rgba(15,36,71,.04);
    --ns-shadow-sm: 0 2px 8px rgba(15,36,71,.07),  0 1px 3px rgba(15,36,71,.05);
    --ns-shadow:    0 4px 16px rgba(15,36,71,.09),  0 2px 6px rgba(15,36,71,.05);
    --ns-shadow-lg: 0 12px 40px rgba(15,36,71,.14), 0 4px 12px rgba(15,36,71,.07);

    /* ── Layout ── */
    --ns-sidebar-w: 264px;
    --ns-topbar-h:  64px;
    --ns-radius:    12px;
    --ns-radius-sm: 8px;
    --ns-radius-lg: 18px;

    /* ── Motion ── */
    --ns-transition:     all .2s cubic-bezier(.4,0,.2,1);
    --ns-transition-fast:all .12s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════════════════════
   BOOTSTRAP OVERRIDES
═══════════════════════════════════════════════════════ */
body {
    background: var(--ns-bg);
    color: var(--ns-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: .9375rem;
    -webkit-font-smoothing: antialiased;
}

.btn-primary           { background: var(--ns-navy); border-color: var(--ns-navy); }
.btn-primary:hover     { background: var(--ns-navy-mid); border-color: var(--ns-navy-mid); }
.btn-success           { background: var(--ns-green); border-color: var(--ns-green); }
.btn-success:hover     { background: var(--ns-green-dark); border-color: var(--ns-green-dark); }
.btn-outline-primary   { color: var(--ns-navy); border-color: var(--ns-navy); }
.btn-outline-primary:hover { background: var(--ns-navy); color: #fff; }
.text-primary          { color: var(--ns-navy) !important; }
.bg-primary            { background: var(--ns-navy) !important; }
.badge.bg-success      { background: var(--ns-green) !important; }
a                      { color: var(--ns-navy); }
a:hover                { color: var(--ns-green-dark); }
.form-control:focus,
.form-select:focus     { border-color: var(--ns-green); box-shadow: 0 0 0 3px rgba(92,184,64,.15); }

/* ── Splash ── */
.ns-splash  { background: var(--ns-bg); }
.ns-spinner { color: var(--ns-green); width: 3rem; height: 3rem; border-width: 3px; }


/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.ns-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--ns-sidebar-w);
    height: 100vh;
    background: linear-gradient(180deg, var(--ns-sidebar-bg) 0%, var(--ns-sidebar-bg2) 100%);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: var(--ns-transition);
    overflow: hidden;
    box-shadow: 2px 0 24px rgba(0,0,0,.18);
}
.ns-sidebar--collapsed { width: 70px; }
.ns-sidebar--collapsed .ns-brand-text,
.ns-sidebar--collapsed .ns-section-btn-label,
.ns-sidebar--collapsed .ns-section-label,
.ns-sidebar--collapsed .ns-nav-item a span { opacity: 0; width: 0; overflow: hidden; }

/* ── Brand area ── */
.ns-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ns-sidebar-border);
    text-decoration: none;
    min-height: var(--ns-topbar-h);
}
.ns-brand img {
    width: 36px; height: 36px;
    object-fit: contain; flex-shrink: 0;
    border-radius: 9px;
}
.ns-brand-icon {
    width: 36px; height: 36px;
    background: #fff;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.ns-brand-icon i { color: #fff; font-size: 1.15rem; }
.ns-brand-name { color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .2px; }
.ns-brand-sub  { color: var(--ns-sidebar-text-dim); font-size: .62rem; text-transform: uppercase; letter-spacing: 1.2px; margin-top: 1px; }

/* ── Logo mark animation ──
   Draw is GSAP-driven (nephAnim.init → gsap.to .ns-logo-path strokeDashoffset 1→0).
   stroke-dashoffset: 0 here = always visible fallback if JS hasn't run yet.
   Pulse + hover stay CSS-only (reliable, no GSAP needed).
── */
@keyframes ns-logo-pulse {
    0%, 90%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,.20); }
    45%            { box-shadow: 0 3px 18px rgba(27,60,110,.45), 0 0 0 4px rgba(27,60,110,.10); }
}
.ns-logo-svg  { display: block; }
.ns-logo-path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0; /* visible by default; GSAP resets to 1 then animates to 0 */
    will-change: stroke-dashoffset;
}
.ns-brand-icon {
    animation: ns-logo-pulse 4.5s ease-in-out 1.4s infinite;
    transition: transform .22s ease, box-shadow .22s ease;
}
.ns-brand:hover .ns-brand-icon,
a.ns-brand-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 24px rgba(92,184,64,.72) !important;
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    .ns-logo-path  { /* no animation needed — path is visible by default */ }
    .ns-brand-icon { animation: none; transition: none; }
}

/* ── Navigation ── */
.ns-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.08) transparent;
}
.ns-nav::-webkit-scrollbar        { width: 4px; }
.ns-nav::-webkit-scrollbar-track  { background: transparent; }
.ns-nav::-webkit-scrollbar-thumb  { background: rgba(255,255,255,.12); border-radius: 2px; }

/* Section label (static) */
.ns-section-label {
    color: var(--ns-sidebar-text-dim);
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 14px 20px 4px;
    transition: var(--ns-transition);
}

/* Collapsible section header */
.ns-section-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid var(--ns-sidebar-border);
    color: var(--ns-sidebar-text-dim);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 9px 20px 7px;
    cursor: pointer;
    transition: var(--ns-transition);
    margin-top: 2px;
}
.ns-section-btn:hover  { color: rgba(255,255,255,.75); background: var(--ns-sidebar-hover-bg); }
.ns-section-btn.open   {
    color: rgba(255,255,255,.80);
    border-left: 3px solid var(--ns-green);
    padding-left: 17px;
    background: rgba(92,184,64,.06);
}
.ns-section-btn-label  { display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.ns-section-btn .ns-chevron {
    font-size: .72rem;
    transition: transform .2s ease;
    flex-shrink: 0;
    opacity: .5;
}
.ns-section-btn.open .ns-chevron { transform: rotate(180deg); opacity: .9; }

/* Section items container */
.ns-section-items {
    overflow: hidden;
    animation: ns-section-open .16s ease;
}
@keyframes ns-section-open {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ns-section-items .ns-nav-item a { padding-left: 28px; }

/* Individual nav items */
.ns-nav-item a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 20px;
    color: var(--ns-sidebar-text);
    text-decoration: none;
    font-size: .875rem;
    border-left: 3px solid transparent;
    transition: var(--ns-transition-fast);
    white-space: nowrap;
    border-radius: 0;
}
.ns-nav-item a i {
    font-size: 1.05rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    opacity: .7;
    transition: var(--ns-transition-fast);
}
.ns-nav-item a:hover {
    color: #fff;
    background: var(--ns-sidebar-hover-bg);
}
.ns-nav-item a:hover i { opacity: 1; }
.ns-nav-item a.active {
    color: #fff;
    background: var(--ns-sidebar-active-bg);
    border-left-color: var(--ns-green);
    font-weight: 600;
}
.ns-nav-item a.active i { color: var(--ns-green); opacity: 1; }

/* Sidebar footer */
.ns-sidebar-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--ns-sidebar-border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.12);
    white-space: nowrap;
    overflow: hidden;
}
.ns-sidebar-footer .ns-avatar {
    width: 32px; height: 32px;
    font-size: .78rem;
    background: var(--ns-green);
    flex-shrink: 0;
}

/* Collapsed sidebar */
.ns-sidebar--collapsed .ns-section-btn { justify-content: center; padding: 10px; border-top-color: transparent; }
.ns-sidebar--collapsed .ns-section-btn .ns-section-btn-label,
.ns-sidebar--collapsed .ns-section-btn .ns-chevron { display: none; }


/* ═══════════════════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════════════════ */
.ns-page {
    margin-left: var(--ns-sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left .2s cubic-bezier(.4,0,.2,1);
    background: var(--ns-bg);
}
.ns-page--expanded { margin-left: 70px; }


/* ═══════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════ */
.ns-topbar {
    position: sticky;
    top: 0;
    height: var(--ns-topbar-h);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ns-border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
    z-index: 1030;
    box-shadow: 0 1px 0 var(--ns-border), 0 2px 12px rgba(15,36,71,.06);
}
.ns-topbar .ns-breadcrumb {
    flex: 1;
    font-size: .88rem;
}
.ns-topbar .ns-breadcrumb strong {
    color: var(--ns-navy);
    font-size: 1rem;
    font-weight: 700;
}
.ns-topbar-actions { display: flex; align-items: center; gap: 6px; }
.ns-topbar-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--ns-radius-sm);
    border: 1px solid var(--ns-border);
    background: transparent;
    color: var(--ns-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--ns-transition);
    position: relative;
    text-decoration: none;
}
.ns-topbar-btn:hover {
    background: var(--ns-bg);
    color: var(--ns-navy);
    border-color: var(--ns-border);
}
.ns-topbar-btn[href] { text-decoration: none; }
.ns-topbar-btn .ns-dot {
    position: absolute;
    top: 7px; right: 7px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #fff;
}

/* User avatar */
.ns-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ns-navy-mid), var(--ns-navy));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .82rem;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid var(--ns-border);
    transition: var(--ns-transition);
}
.ns-avatar:hover { border-color: var(--ns-green); box-shadow: 0 0 0 3px rgba(92,184,64,.15); }


/* ═══════════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════════ */
.ns-content { flex: 1; padding: 24px; }


/* ═══════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════ */
.ns-card {
    background: var(--ns-card-bg);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius);
    box-shadow: var(--ns-shadow-sm);
    padding: 20px;
}
.ns-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.ns-card-title {
    font-weight: 700;
    font-size: .95rem;
    color: var(--ns-text);
    margin: 0;
}


/* ═══════════════════════════════════════════════════════
   STAT CARDS
═══════════════════════════════════════════════════════ */
.ns-stat {
    background: var(--ns-card-bg);
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius);
    box-shadow: var(--ns-shadow-sm);
    padding: 20px 20px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--ns-transition);
}
.ns-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--ns-radius) var(--ns-radius) 0 0;
}
.ns-stat:hover { transform: translateY(-2px); box-shadow: var(--ns-shadow); }

/* Icon containers */
.ns-stat-icon {
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}
.ns-stat-icon.navy  { background: rgba(15,36,71,.08);  color: var(--ns-navy-mid); }
.ns-stat-icon.green { background: rgba(92,184,64,.10); color: var(--ns-green-dark); }
.ns-stat-icon.sky   { background: rgba(41,182,212,.10);color: var(--ns-sky); }
.ns-stat-icon.warn  { background: rgba(245,158,11,.10);color: #d97706; }
.ns-stat-icon.danger{ background: rgba(239,68,68,.10); color: #dc2626; }

/* Color accent lines on top of stat cards */
.ns-stat .ns-stat-icon.navy   ~ * { } /* blue top bar set below */
.ns-stat:has(.ns-stat-icon.green)::before { background: var(--ns-green); }
.ns-stat:has(.ns-stat-icon.navy)::before  { background: var(--ns-navy-mid); }
.ns-stat:has(.ns-stat-icon.sky)::before   { background: var(--ns-sky); }
.ns-stat:has(.ns-stat-icon.warn)::before  { background: #f59e0b; }
.ns-stat:has(.ns-stat-icon.danger)::before{ background: #ef4444; }

.ns-stat-val {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ns-navy);
    letter-spacing: -.02em;
}
.ns-stat-lbl {
    font-size: .78rem;
    color: var(--ns-text-muted);
    margin-top: 3px;
    font-weight: 500;
}
.ns-stat-trend {
    font-size: .74rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
}
.ns-stat-trend--up   { color: var(--ns-green-dark); }
.ns-stat-trend--down { color: #dc2626; }
.ns-stat-trend--flat { color: var(--ns-text-muted); }


/* ═══════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════ */
.ns-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 20px;
    font-size: .74rem; font-weight: 600;
    letter-spacing: .01em;
}
.ns-badge.paid     { background: rgba(92,184,64,.10);  color: var(--ns-green-dark); }
.ns-badge.unpaid   { background: rgba(239,68,68,.10);  color: #dc2626; }
.ns-badge.draft    { background: rgba(100,116,139,.10);color: var(--ns-text-muted); }
.ns-badge.overdue  { background: rgba(245,158,11,.10); color: #d97706; }
.ns-badge.sent     { background: rgba(41,182,212,.10); color: #0e7490; }
.ns-badge .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ns-badge.paid   .dot { background: var(--ns-green); }
.ns-badge.unpaid .dot { background: #ef4444; }
.ns-badge.overdue .dot{ background: #f59e0b; }

.ns-badge-navy   { background: rgba(15,36,71,.10);    color: var(--ns-navy-mid); }
.ns-badge-blue   { background: rgba(41,118,212,.10);  color: #1d4ed8; }
.ns-badge-sky    { background: rgba(41,182,212,.10);  color: #0e7490; }
.ns-badge-green  { background: rgba(92,184,64,.10);   color: var(--ns-green-dark); }
.ns-badge-red    { background: rgba(239,68,68,.10);   color: #dc2626; }
.ns-badge-orange { background: rgba(249,115,22,.10);  color: #c2410c; }
.ns-badge-warn   { background: rgba(245,158,11,.10);  color: #d97706; }
.ns-badge-grey,
.ns-badge-gray   { background: rgba(100,116,139,.10); color: var(--ns-text-muted); }
.ns-badge-teal   { background: rgba(20,184,166,.10);  color: #0f766e; }
.ns-badge-purple { background: rgba(139,92,246,.10);  color: #7c3aed; }


/* ═══════════════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════════════ */
.ns-table { width: 100%; border-collapse: collapse; }
.ns-table th {
    background: var(--ns-bg);
    padding: 10px 14px;
    font-size: .74rem;
    font-weight: 700;
    color: var(--ns-text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--ns-border);
    white-space: nowrap;
}
.ns-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--ns-border-light);
    font-size: .875rem;
    vertical-align: middle;
    color: var(--ns-text);
}
.ns-table tbody tr { transition: background .1s ease; }
.ns-table tbody tr:hover { background: rgba(240,244,248,.7); }
.ns-table tbody tr:last-child td { border-bottom: none; }


/* ═══════════════════════════════════════════════════════
   AUTH PAGES  — split-screen layout
═══════════════════════════════════════════════════════ */
.ns-auth-bg {
    min-height: 100vh;
    display: flex;
    background: var(--ns-bg);
}

/* Left brand panel */
.ns-auth-panel {
    display: none;
    width: 45%;
    flex-shrink: 0;
    background: linear-gradient(155deg, var(--ns-navy-dark) 0%, var(--ns-navy-mid) 55%, #1a5c7a 100%);
    padding: 52px 48px;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 900px) { .ns-auth-panel { display: flex; } }

.ns-auth-panel::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: var(--ns-green);
    opacity: .06;
}
.ns-auth-panel::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -60px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: var(--ns-sky);
    opacity: .08;
}
.ns-auth-panel-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.ns-auth-panel-logo-icon {
    width: 44px; height: 44px;
    background: var(--ns-green);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(92,184,64,.4);
}
.ns-auth-panel-logo-icon img { width: 26px; filter: brightness(0) invert(1); }
.ns-auth-panel-logo-name  { color: #fff; font-size: 1.15rem; font-weight: 700; }
.ns-auth-panel-logo-sub   { color: rgba(255,255,255,.4); font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; }

.ns-auth-panel-body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}
.ns-auth-panel-headline {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.ns-auth-panel-headline span { color: var(--ns-green-light); }
.ns-auth-panel-tagline {
    color: rgba(255,255,255,.60);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 320px;
}
.ns-auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ns-auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.75);
    font-size: .88rem;
}
.ns-auth-feature-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.09);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
    color: var(--ns-green-light);
}
.ns-auth-panel-footer {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.28);
    font-size: .75rem;
}

/* Right form column */
.ns-auth-form-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--ns-bg);
}
.ns-auth-card {
    background: #fff;
    border-radius: var(--ns-radius-lg);
    box-shadow: var(--ns-shadow-lg);
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--ns-border);
}

/* Fallback: when no split panel (mobile / old class usage) */
.ns-auth-bg:not(:has(.ns-auth-panel)) {
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
    position: relative;
}
.ns-auth-bg:not(:has(.ns-auth-panel))::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 46vw; height: 46vw;
    max-width: 520px; max-height: 520px;
    background: var(--ns-green);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 0; opacity: .06;
}
.ns-auth-bg:not(:has(.ns-auth-panel)) .ns-auth-card {
    position: relative; z-index: 1;
    border-top: 4px solid var(--ns-navy);
}
.ns-auth-geo-stripe { display: none; }

.ns-auth-logo { text-align: center; margin-bottom: 24px; }
.ns-auth-logo img { height: 70px; }
.ns-auth-logo-mark {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--ns-navy), var(--ns-navy-mid));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(15,36,71,.25);
}
.ns-auth-logo-mark img { width: 30px; filter: brightness(0) invert(1); }
.ns-auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ns-navy);
    text-align: center;
    margin-bottom: 4px;
}
.ns-auth-sub {
    font-size: .875rem;
    color: var(--ns-text-muted);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}
.ns-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--ns-text-muted);
    font-size: .78rem;
}
.ns-divider::before,
.ns-divider::after { content: ''; flex: 1; height: 1px; background: var(--ns-border); }


/* ═══════════════════════════════════════════════════════
   MARKETING PAGE
═══════════════════════════════════════════════════════ */
.ni-hero {
    background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-navy-light) 60%, #1a6b8a 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.ni-hero::before {
    content: ''; position: absolute;
    top: -80px; right: -80px;
    width: 500px; height: 500px;
    background: var(--ns-green);
    border-radius: 50%; opacity: .08;
}
.ni-hero::after {
    content: ''; position: absolute;
    bottom: -120px; left: -60px;
    width: 400px; height: 400px;
    background: var(--ns-sky);
    border-radius: 50%; opacity: .10;
}
.ni-hero-content { position: relative; z-index: 1; padding: 100px 0 80px; }
.ni-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
.ni-hero h1 span { color: var(--ns-green); }
.ni-hero p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 520px; }
.ni-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px; padding: 6px 16px;
    font-size: .8rem; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase; margin-bottom: 20px;
    color: var(--ns-green-light);
}
.ni-nav {
    position: sticky; top: 0; z-index: 999;
    background: rgba(15,36,71,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 14px 0;
}
.ni-nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ni-nav-brand > img { display: block; }
.ni-nav-brand span { color: #fff; font-weight: 700; font-size: 1.1rem; }
.ni-nav-brand-name {
    font-weight: 800;
    font-size: 1.08rem;
    line-height: 1.15;
    letter-spacing: .03em;
    background: linear-gradient(120deg, #ffffff 35%, #29B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ni-nav-brand-tag {
    color: rgba(41,182,212,.80);
    font-size: .63rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: .05em;
    display: none;
}
@media (min-width: 992px) { .ni-nav-brand-tag { display: block; } }
.ni-nav-link { color: rgba(255,255,255,.65); font-size: .88rem; text-decoration: none; transition: var(--ns-transition); }
.ni-nav-link:hover { color: var(--ns-green-light); }

.ni-feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 16px;
}
.ni-feature-icon.navy  { background: rgba(27,60,110,.10); color: var(--ns-navy); }
.ni-feature-icon.green { background: rgba(92,184,64,.12); color: var(--ns-green-dark); }
.ni-feature-icon.sky   { background: rgba(41,182,212,.12); color: var(--ns-sky); }
.ni-feature-icon.warn  { background: rgba(255,193,7,.12); color: #b87d00; }
.ni-section { padding: 80px 0; }
.ni-section-alt { background: #fff; }
.ni-section-dark { background: var(--ns-navy); color: #fff; }
.ni-section-title { font-size: 2rem; font-weight: 800; color: var(--ns-navy); margin-bottom: 12px; }
.ni-section-sub { color: var(--ns-text-muted); font-size: 1.05rem; margin-bottom: 48px; }
.ni-section-dark .ni-section-title { color: #fff; }
.ni-section-dark .ni-section-sub { color: rgba(255,255,255,.65); }
.ni-cta-btn {
    background: var(--ns-green); border: none; color: #fff;
    padding: 14px 36px; border-radius: 8px; font-weight: 700; font-size: 1rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: var(--ns-transition);
}
.ni-cta-btn:hover { background: var(--ns-green-dark); color: #fff; transform: translateY(-2px); }
.ni-login-btn {
    background: transparent; border: 2px solid rgba(255,255,255,.6); color: #fff;
    padding: 10px 28px; border-radius: 8px; font-weight: 600; font-size: .9rem;
    text-decoration: none; transition: var(--ns-transition);
}
.ni-login-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.ni-stat-big { font-size: 2.8rem; font-weight: 800; color: var(--ns-green); line-height: 1; }
.ni-stat-lbl { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.ni-footer { background: var(--ns-navy-dark); color: rgba(255,255,255,.6); padding: 40px 0 24px; font-size: .85rem; }
.ni-footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.ni-footer a:hover { color: var(--ns-green); }

.ni-tab-group { display: flex; gap: 4px; background: rgba(255,255,255,.07); border-radius: 10px; padding: 4px; }
.ni-tab {
    background: transparent; border: none; outline: none; cursor: pointer;
    color: rgba(255,255,255,.65); font-size: .87rem; font-weight: 600;
    padding: 8px 20px; border-radius: 7px;
    display: flex; align-items: center; gap: 8px;
    transition: var(--ns-transition); white-space: nowrap;
}
.ni-tab:hover  { color: #fff; background: rgba(255,255,255,.1); }
.ni-tab.active { background: var(--ns-green); color: #fff; box-shadow: 0 2px 12px rgba(92,184,64,.35); }
.ni-tab-btn {
    width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
    background: transparent; color: rgba(255,255,255,.5); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    transition: var(--ns-transition);
}
.ni-tab-btn.active { background: var(--ns-green); border-color: var(--ns-green); color: #fff; }
.ni-tab-btn:hover  { background: rgba(255,255,255,.1); color: #fff; }

.ni-hero-software { background: linear-gradient(135deg, var(--ns-navy-dark) 0%, var(--ns-navy) 55%, #1a5c7a 100%); }
.ni-hero-print    { background: linear-gradient(135deg, var(--ns-navy-dark) 0%, #0f3155 50%, #124a5e 100%); }
.ni-hero h1 span.sky { color: var(--ns-sky-light); }
.ni-hero-badge.sky { color: var(--ns-sky-light); }
.ni-hero-geo { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; opacity: .07; }
.ni-hero-geo-1    { top: -80px; right: -80px; width: 500px; height: 500px; background: var(--ns-green); }
.ni-hero-geo-2    { bottom: -120px; left: -60px; width: 400px; height: 400px; background: var(--ns-sky); }
.ni-hero-geo-sky1 { top: -100px; right: -60px; width: 460px; height: 460px; background: var(--ns-sky); opacity: .1; }
.ni-hero-geo-sky2 { bottom: -100px; left: -80px; width: 380px; height: 380px; background: var(--ns-green); opacity: .06; }

.ni-code-card { background: #0d1b2e; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ni-code-header { background: #162032; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ni-code-dot { width: 12px; height: 12px; border-radius: 50%; }
.ni-code-dot.red   { background: #ff5f57; }
.ni-code-dot.amber { background: #febc2e; }
.ni-code-dot.green { background: #28c840; }
.ni-code-filename  { color: rgba(255,255,255,.35); font-size: .78rem; margin-left: 8px; font-family: monospace; }
.ni-code-body { padding: 20px; font-family: 'Consolas','Cascadia Code',monospace; font-size: .82rem; line-height: 1.9; }
.ni-code-line { color: rgba(255,255,255,.7); }
.c-kw  { color: #569cd6; } .c-cls { color: #4ec9b0; } .c-fn { color: #dcdcaa; } .c-cmt { color: rgba(255,255,255,.35); font-style: italic; }
.ni-code-footer { background: #162032; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.07); display: flex; gap: 10px; }
.ni-code-badge { background: rgba(40,200,64,.15); color: #28c840; border-radius: 4px; padding: 2px 10px; font-size: .72rem; font-weight: 600; font-family: monospace; }
.ni-code-badge.sky { background: rgba(41,182,212,.15); color: var(--ns-sky-light); }

.ni-print-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px; }
.ni-print-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ni-print-bar { background: rgba(255,255,255,.1); border-radius: 6px; height: 8px; overflow: hidden; }
.ni-print-bar div { height: 100%; background: linear-gradient(90deg, var(--ns-sky), var(--ns-sky-light)); border-radius: 6px; }
.ni-mat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ni-mat-chip { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 8px 14px; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 500; }
.ni-mat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.ni-svc-tile { background: #fff; border: 1px solid var(--ns-border); border-radius: 14px; padding: 28px; border-top: 3px solid var(--ns-navy); box-shadow: var(--ns-shadow-sm); transition: var(--ns-transition); display: flex; flex-direction: column; }
.ni-svc-tile:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow); }
.ni-svc-tile-icon { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.ni-svc-tile h5 { font-weight: 700; color: var(--ns-navy); margin-bottom: 8px; }
.ni-svc-tile p  { color: var(--ns-text-muted); font-size: .88rem; line-height: 1.7; flex: 1; }
.ni-svc-bullets { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 7px; }
.ni-svc-bullets li { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: var(--ns-text); }
.ni-svc-bullets li i { color: var(--ns-green); font-size: .95rem; flex-shrink: 0; }

.ni-tech-cat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ni-tech-cat-title { width: 100%; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ni-mat-card { display: flex; align-items: flex-start; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; }
.ni-mat-swatch { width: 14px; border-radius: 4px; align-self: stretch; flex-shrink: 0; min-height: 60px; }
.ni-mat-name { color: #fff; font-weight: 700; font-size: .95rem; }
.ni-mat-type { color: rgba(255,255,255,.4); font-size: .72rem; margin-top: 2px; }
.ni-mat-prop { background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); border-radius: 4px; padding: 2px 10px; font-size: .72rem; }
.ni-cta-strip { background: var(--ns-green-dark); padding: 32px 0; }
.ni-cta-strip.sky { background: #0d7a96; }
/* About section brand identity card */
.ni-about-logo-wrap {
    background: linear-gradient(135deg, #0F2447 0%, #163566 100%);
    border-radius: 20px;
    padding: 36px 28px 28px;
    margin-bottom: 24px;
    box-shadow: 0 16px 48px rgba(15,36,71,.28);
    border: 1px solid rgba(41,182,212,.12);
}
.ni-about-logo-img {
    width: 96px;
    height: 96px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.ni-about-logo-wordmark {
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: .03em;
    line-height: 1.15;
    background: linear-gradient(120deg, #ffffff 30%, #29B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.ni-about-logo-sub {
    color: rgba(41,182,212,.75);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.5;
}
.ni-about-mockup { width: 100%; max-width: 400px; border-radius: 20px; box-shadow: 0 24px 60px rgba(27,60,110,.2); }
.ni-about-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(92,184,64,.1); color: var(--ns-green-dark); border: 1px solid rgba(92,184,64,.2); border-radius: 8px; padding: 7px 16px; font-size: .83rem; font-weight: 600; }
.ni-about-pill.sky  { background: rgba(41,182,212,.1);  color: #1a8fa8;  border-color: rgba(41,182,212,.2); }
.ni-about-pill.warn { background: rgba(255,193,7,.1);   color: #b87d00;  border-color: rgba(255,193,7,.2); }
.ni-about-pill.navy { background: rgba(27,60,110,.08);  color: var(--ns-navy); border-color: rgba(27,60,110,.15); }
.ni-cta-btn.sky         { background: var(--ns-sky); }
.ni-cta-btn.sky:hover   { background: #1a99b5; }
.ni-service-cta.sky:hover { background: var(--ns-sky); color: #fff; }
.ni-hero-trust { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.ni-hero-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }
.ni-hero-svc-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.ni-hero-svc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.ni-hero-pill { padding: 3px 12px; border-radius: 20px; font-size: .72rem; font-weight: 600; }
.ni-hero-pill.green { background: rgba(92,184,64,.2); color: var(--ns-green-light); }
.ni-hero-pill.sky   { background: rgba(41,182,212,.2); color: var(--ns-sky-light); }
.ni-hero-stats-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px 24px; display: flex; flex-direction: column; gap: 12px; }
.ni-hero-stat { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: .85rem; }
.ni-trust-bar { background: var(--ns-navy-dark); padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ni-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.45); font-size: .82rem; font-weight: 500; }
.ni-trust-item i { font-size: 1rem; color: rgba(255,255,255,.3); }
.ni-section-label-tag { display: inline-block; background: rgba(92,184,64,.1); color: var(--ns-green-dark); border: 1px solid rgba(92,184,64,.25); border-radius: 50px; padding: 4px 14px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.ni-service-card { background: #fff; border: 1px solid var(--ns-border); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; box-shadow: var(--ns-shadow); transition: var(--ns-transition); }
.ni-service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27,60,110,.14); }
.ni-service-navy { border-top: 4px solid var(--ns-navy); }
.ni-service-sky  { border-top: 4px solid var(--ns-sky); }
.ni-service-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.ni-service-icon { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.ni-service-icon.navy { background: rgba(27,60,110,.10); color: var(--ns-navy); }
.ni-service-icon.sky  { background: rgba(41,182,212,.12); color: var(--ns-sky); }
.ni-service-title  { font-size: 1.3rem; font-weight: 800; color: var(--ns-navy); line-height: 1.2; margin: 0 0 4px; }
.ni-service-tagline{ font-size: .82rem; color: var(--ns-text-muted); margin: 0; }
.ni-service-desc   { color: var(--ns-text-muted); font-size: .92rem; line-height: 1.75; margin-bottom: 24px; }
.ni-service-list   { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.ni-service-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ns-text); }
.ni-service-list li i { color: var(--ns-green); font-size: 1rem; flex-shrink: 0; font-weight: 700; }
.ni-service-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ns-navy); font-weight: 700; font-size: .9rem; text-decoration: none; padding: 12px 24px; border: 2px solid var(--ns-navy); border-radius: 8px; transition: var(--ns-transition); align-self: flex-start; }
.ni-service-cta:hover { background: var(--ns-navy); color: #fff; }
.ni-service-cta.sky { color: var(--ns-sky); border-color: var(--ns-sky); }
.ni-service-cta.sky:hover { background: var(--ns-sky); color: #fff; }
.ni-why-card { background: #fff; border: 1px solid var(--ns-border); border-radius: 14px; padding: 28px; height: 100%; transition: var(--ns-transition); box-shadow: var(--ns-shadow-sm); }
.ni-why-card:hover { transform: translateY(-3px); box-shadow: var(--ns-shadow); }
.ni-why-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.ni-why-card h5 { font-weight: 700; color: var(--ns-navy); margin-bottom: 10px; }
.ni-why-card p  { color: var(--ns-text-muted); font-size: .88rem; line-height: 1.75; margin: 0; }
.ni-process-row  { gap: 0; }
.ni-process-step { padding: 36px 32px; text-align: center; position: relative; border-right: 1px solid var(--ns-border); }
.ni-process-step.last { border-right: none; }
.ni-process-step::after { content: ''; position: absolute; top: 60px; right: -12px; width: 24px; height: 24px; background: var(--ns-green); border-radius: 50%; border: 3px solid #fff; z-index: 1; }
.ni-process-step.last::after { display: none; }
.ni-process-num  { font-size: 3.5rem; font-weight: 900; line-height: 1; color: rgba(27,60,110,.06); margin-bottom: -12px; }
.ni-process-icon { width: 60px; height: 60px; border-radius: 16px; background: rgba(27,60,110,.08); color: var(--ns-navy); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 16px; }
.ni-process-step h5 { font-weight: 700; color: var(--ns-navy); margin-bottom: 10px; }
.ni-process-step p  { color: var(--ns-text-muted); font-size: .87rem; line-height: 1.7; margin: 0; }
.ni-tech-tag { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); border-radius: 6px; padding: 5px 14px; font-size: .78rem; font-weight: 500; transition: var(--ns-transition); }
.ni-tech-tag:hover { background: rgba(92,184,64,.2); border-color: var(--ns-green); color: var(--ns-green-light); }
.ni-tech-tag.sky:hover { background: rgba(41,182,212,.2); border-color: var(--ns-sky); color: var(--ns-sky-light); }
.ni-about-stat { background: rgba(27,60,110,.06); border-radius: 12px; padding: 18px 24px; text-align: center; min-width: 110px; }
.ni-about-stat-num { font-size: 2rem; font-weight: 800; color: var(--ns-navy); line-height: 1; }
.ni-about-stat-lbl { font-size: .75rem; color: var(--ns-text-muted); margin-top: 4px; }
.ni-about-card { background: #fff; border: 1px solid var(--ns-border); border-radius: 12px; padding: 24px; box-shadow: var(--ns-shadow-sm); }
.ni-contact-info-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.ni-contact-info-row  { display: flex; align-items: center; gap: 16px; }
.ni-contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--ns-green-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ni-contact-info-label{ font-size: .72rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }
.ni-contact-info-val  { font-size: .9rem; font-weight: 600; color: #fff; text-decoration: none; }
.ni-contact-info-val:hover { color: var(--ns-green-light); }
.ni-footer-heading { color: rgba(255,255,255,.4); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.ni-hero-img-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); aspect-ratio: 4/3; background: rgba(255,255,255,.06); }
.ni-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ni-hero-img-overlay { position: absolute; bottom: 14px; left: 14px; }
.ni-quote-cta-banner { background: linear-gradient(135deg, var(--ns-navy) 0%, #0d6b88 100%); border-radius: 20px; padding: 36px 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; box-shadow: 0 12px 40px rgba(27,60,110,.2); }
.ni-quote-cta-icon   { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--ns-sky-light); }
.ni-quote-cta-title  { color: #fff; font-weight: 800; font-size: 1.25rem; margin: 0 0 6px; }
.ni-quote-cta-sub    { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0; max-width: 480px; }
.ni-quote-cta-chip   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); border-radius: 6px; padding: 4px 12px; font-size: .78rem; }


/* ═══════════════════════════════════════════════════════
   3D PRINT QUOTE PAGE
═══════════════════════════════════════════════════════ */
.pq-hero   { background: linear-gradient(135deg, var(--ns-navy-dark) 0%, #0f3d60 60%, #0d6b88 100%); padding: 60px 0 50px; }
.pq-body   { background: var(--ns-bg); padding: 40px 0 80px; }
.pq-card   { background: #fff; border: 1px solid var(--ns-border); border-radius: 16px; padding: 28px; box-shadow: var(--ns-shadow-sm); }
.pq-card-step { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pq-step-num  { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--ns-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; }
.pq-card-title{ font-size: 1.05rem; font-weight: 700; color: var(--ns-navy); margin: 0 0 3px; }
.pq-card-sub  { font-size: .82rem; color: var(--ns-text-muted); margin: 0; }
.pq-label     { font-size: .85rem; font-weight: 600; color: var(--ns-text); margin-bottom: 6px; display: block; }
.pq-field-hint{ font-size: .75rem; color: var(--ns-text-muted); margin-top: 5px; }
.pq-dropzone  { border: 2px dashed var(--ns-border); border-radius: 12px; padding: 36px 20px; text-align: center; transition: var(--ns-transition); background: var(--ns-bg); }
.pq-dropzone:hover     { border-color: var(--ns-sky); background: rgba(41,182,212,.04); }
.pq-dropzone.has-file  { border-color: var(--ns-green); background: rgba(92,184,64,.04); border-style: solid; }
.pq-dropzone.has-error { border-color: #ef4444; }
.pq-drop-icon   { font-size: 2.5rem; color: var(--ns-sky); display: block; margin-bottom: 10px; }
.pq-drop-text   { color: var(--ns-text-muted); font-size: .9rem; margin-bottom: 12px; }
.pq-drop-btn    { background: var(--ns-navy); color: #fff; border: none; border-radius: 8px; padding: 9px 24px; font-size: .88rem; font-weight: 600; cursor: pointer; display: inline-block; transition: var(--ns-transition); }
.pq-drop-btn:hover { background: var(--ns-navy-mid); }
.pq-drop-error  { color: #ef4444; font-size: .82rem; margin-top: 10px; }
.pq-drop-check  { font-size: 2.5rem; color: var(--ns-green); display: block; margin-bottom: 8px; }
.pq-drop-filename{ font-weight: 700; color: var(--ns-navy); font-size: .95rem; margin-bottom: 4px; }
.pq-drop-filesize{ color: var(--ns-text-muted); font-size: .8rem; margin-bottom: 12px; }
.pq-drop-clear   { background: none; border: 1px solid var(--ns-border); border-radius: 6px; padding: 5px 14px; font-size: .8rem; color: var(--ns-text-muted); cursor: pointer; transition: var(--ns-transition); }
.pq-drop-clear:hover { border-color: #ef4444; color: #ef4444; }
.pq-dim-note { font-size: .75rem; color: var(--ns-text-muted); background: rgba(41,182,212,.06); border: 1px solid rgba(41,182,212,.15); border-radius: 8px; padding: 8px 12px; margin-top: 12px; }
.pq-material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.pq-mat-btn { background: var(--ns-bg); border: 2px solid var(--ns-border); border-radius: 10px; padding: 10px 8px; text-align: center; cursor: pointer; transition: var(--ns-transition); }
.pq-mat-btn:hover  { border-color: var(--mat-color, var(--ns-navy)); }
.pq-mat-btn.active { border-color: var(--mat-color, var(--ns-navy)); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pq-mat-dot  { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-bottom: 5px; }
.pq-mat-name { font-size: .8rem; font-weight: 700; color: var(--ns-navy); }
.pq-mat-type { font-size: .68rem; color: var(--ns-text-muted); }
.pq-mat-price{ font-size: .7rem; color: var(--ns-text-muted); margin-top: 2px; }
.pq-range    { accent-color: var(--ns-sky); }
.pq-qty-row  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pq-qty-btn  { width: 38px; height: 38px; border-radius: 8px; background: var(--ns-bg); border: 1px solid var(--ns-border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: var(--ns-transition); }
.pq-qty-btn:hover { background: var(--ns-navy); color: #fff; border-color: var(--ns-navy); }
.pq-qty-input { width: 80px; text-align: center; border: 1px solid var(--ns-border); border-radius: 8px; padding: 7px; font-size: .95rem; font-weight: 600; }
.pq-qty-disc  { background: rgba(92,184,64,.1); color: var(--ns-green-dark); border: 1px solid rgba(92,184,64,.2); border-radius: 6px; padding: 5px 12px; font-size: .78rem; font-weight: 600; }
.pq-summary-card  { background: var(--ns-navy); border-radius: 16px; padding: 28px; position: sticky; top: 90px; color: #fff; }
.pq-summary-title { font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 12px; display: flex; align-items: center; }
.pq-summary-note  { color: rgba(255,255,255,.45); font-size: .82rem; margin-bottom: 16px; }
.pq-live-rows { display: flex; flex-direction: column; gap: 8px; }
.pq-live-row  { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pq-live-row.discount { color: var(--ns-green-light); }
.pq-live-row.vat      { color: rgba(255,255,255,.5); }
.pq-live-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; font-weight: 800; color: #fff; margin-top: 10px; padding-top: 10px; border-top: 2px solid rgba(255,255,255,.2); }
.pq-live-note  { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: 8px; }
.pq-summary-info { display: flex; flex-direction: column; gap: 10px; }
.pq-info-row { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.6); }
.pq-info-row i { color: var(--ns-sky-light); font-size: .95rem; }
.pq-quote-result { background: #fff; border: 1px solid var(--ns-border); border-radius: 20px; padding: 36px; box-shadow: 0 8px 40px rgba(15,36,71,.1); }
.pq-quote-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--ns-border); margin-bottom: 28px; }
.pq-quote-ref  { font-size: 1.1rem; font-weight: 800; color: var(--ns-navy); }
.pq-quote-date { font-size: .8rem; color: var(--ns-text-muted); margin-top: 3px; }
.pq-quote-logo { display: flex; align-items: center; gap: 10px; }
.pq-spec-card  { background: var(--ns-bg); border: 1px solid var(--ns-border); border-radius: 12px; padding: 20px; }
.pq-spec-title { font-weight: 700; color: var(--ns-navy); font-size: .9rem; margin-bottom: 14px; display: flex; align-items: center; }
.pq-spec-table { width: 100%; font-size: .85rem; }
.pq-spec-table td { padding: 5px 0; vertical-align: top; }
.pq-spec-table td:first-child { color: var(--ns-text-muted); width: 48%; }
.pq-cost-table { width: 100%; font-size: .85rem; }
.pq-cost-table td { padding: 6px 0; border-bottom: 1px solid var(--ns-border); }
.pq-cost-table tr:last-child td { border-bottom: none; }
.pq-discount-row td { color: var(--ns-green-dark); font-weight: 600; }
.pq-vat-row td      { color: var(--ns-text-muted); }
.pq-total-row { display: flex; justify-content: space-between; align-items: center; background: var(--ns-navy); color: #fff; border-radius: 10px; padding: 14px 20px; font-weight: 800; font-size: 1.15rem; margin-top: 12px; }
.pq-per-unit  { text-align: right; font-size: .78rem; color: var(--ns-text-muted); margin-top: 6px; }
.pq-disclaimer { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); border-radius: 10px; padding: 14px 18px; font-size: .83rem; color: #7a5c00; display: flex; gap: 10px; align-items: flex-start; }
.pq-contact-strip { background: var(--ns-bg); border: 1px solid var(--ns-border); border-radius: 12px; padding: 18px 24px; }
.pq-contact-chip  { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--ns-border); border-radius: 8px; padding: 7px 14px; font-size: .82rem; color: var(--ns-text); text-decoration: none; transition: var(--ns-transition); }
.pq-contact-chip:hover { border-color: var(--ns-navy); color: var(--ns-navy); }


/* ═══════════════════════════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════════════════════════ */
.ns-progress-bar  { height: 6px; border-radius: 3px; background: var(--ns-border); overflow: hidden; }
.ns-progress-fill { height: 100%; border-radius: 3px; background: var(--ns-green); transition: width .6s cubic-bezier(.4,0,.2,1); }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .ns-sidebar {
        transform: translateX(-100%);
        width: var(--ns-sidebar-w) !important;
        transition: transform .22s cubic-bezier(.4,0,.2,1);
    }
    .ns-sidebar.open  { transform: translateX(0); }
    .ns-page          { margin-left: 0 !important; }
    .ns-overlay       { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1039; backdrop-filter: blur(2px); }
    .ns-overlay.visible{ display: block; }
    .ni-hero-content  { padding: 60px 0 50px; }
}

@media (max-width: 900px) {
    .ns-split-panel  { flex-direction: column; }
    .ns-split-left   { width: 100%; position: static; height: auto; max-height: 380px; border-right: none; border-bottom: 1px solid var(--ns-border); border-radius: var(--ns-radius) var(--ns-radius) 0 0; }
    .ns-split-right  { border-radius: 0 0 var(--ns-radius) var(--ns-radius); padding: 16px; }
}


/* ═══════════════════════════════════════════════════════
   SMALL ACTION BUTTON
═══════════════════════════════════════════════════════ */
.btn-xs { padding: 2px 8px; font-size: .75rem; line-height: 1.5; border-radius: 4px; }


/* ═══════════════════════════════════════════════════════
   UTILITIES & ANIMATIONS
═══════════════════════════════════════════════════════ */
.gap-2    { gap: .5rem; }
.ns-fade-in { animation: ns-fadein .3s ease; }
@keyframes ns-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

*:focus-visible { outline: 2px solid var(--ns-green); outline-offset: 2px; }
button:focus-visible, a:focus-visible, .btn:focus-visible { outline: 2px solid var(--ns-green); outline-offset: 2px; box-shadow: none; }


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.ns-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--ns-border);
    font-size: .78rem;
    color: var(--ns-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ═══════════════════════════════════════════════════════
   SPLIT-PANEL HUB LAYOUT  (Quotes / Invoices)
═══════════════════════════════════════════════════════ */
.ns-split-panel { display: flex; gap: 0; align-items: flex-start; }
.ns-split-left  {
    width: 360px; flex-shrink: 0;
    position: sticky; top: var(--ns-topbar-h, 64px);
    height: calc(100vh - var(--ns-topbar-h, 64px));
    overflow-y: auto; overflow-x: hidden;
    background: var(--ns-card-bg);
    border-right: 1px solid var(--ns-border);
    border-radius: var(--ns-radius) 0 0 var(--ns-radius);
    scrollbar-width: thin;
    scrollbar-color: var(--ns-border) transparent;
}
.ns-split-left-head    { padding: 14px 14px 10px; border-bottom: 1px solid var(--ns-border); flex-shrink: 0; }
.ns-split-left-filters { padding: 10px 14px; border-bottom: 1px solid var(--ns-border); background: var(--ns-bg); flex-shrink: 0; }
.ns-split-left-list    { flex: 1; overflow-y: auto; padding: 6px 0; scrollbar-width: thin; scrollbar-color: var(--ns-border) transparent; }
.ns-split-right        { flex: 1; min-width: 0; background: var(--ns-bg); border-radius: 0 var(--ns-radius) var(--ns-radius) 0; padding: 24px; }
.ns-list-card { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; cursor: pointer; border-left: 3px solid transparent; border-bottom: 1px solid var(--ns-border); transition: var(--ns-transition-fast); background: var(--ns-card-bg); }
.ns-list-card:hover  { background: rgba(240,244,248,.9); border-left-color: var(--ns-sky); }
.ns-list-card.active { background: rgba(15,36,71,.05); border-left-color: var(--ns-navy); }
.ns-list-card:last-child { border-bottom: none; }
.ns-list-card-top    { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ns-list-card-title  { font-weight: 600; font-size: .88rem; color: var(--ns-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.ns-list-card.active .ns-list-card-title { color: var(--ns-navy); }
.ns-list-card-sub    { font-size: .78rem; color: var(--ns-text-muted); display: flex; align-items: center; gap: 6px; }
.ns-list-card-amount { font-size: .82rem; font-weight: 600; color: var(--ns-navy); white-space: nowrap; }
.ns-list-group-header { display: flex; align-items: center; justify-content: space-between; padding: 7px 14px; background: var(--ns-bg); border-bottom: 1px solid var(--ns-border); cursor: pointer; font-size: .75rem; font-weight: 700; color: var(--ns-text-muted); text-transform: uppercase; letter-spacing: .6px; user-select: none; transition: var(--ns-transition-fast); }
.ns-list-group-header:hover { background: rgba(240,244,248,.9); color: var(--ns-navy); }
.ns-list-group-meta  { display: flex; align-items: center; gap: 8px; font-weight: 500; text-transform: none; letter-spacing: 0; }


/* ═══════════════════════════════════════════════════════
   PIPELINE
═══════════════════════════════════════════════════════ */
.ns-pipeline       { display: flex; align-items: flex-start; gap: 0; margin: 8px 0 4px; }
.ns-pipeline-step  { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.ns-pipeline-track { display: flex; align-items: center; width: 100%; }
.ns-pipeline-dot   { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ns-border); background: var(--ns-card-bg); flex-shrink: 0; transition: var(--ns-transition); position: relative; z-index: 1; }
.ns-pipeline-dot.done   { background: var(--ns-green);  border-color: var(--ns-green); }
.ns-pipeline-dot.active { background: var(--ns-navy);   border-color: var(--ns-navy); box-shadow: 0 0 0 3px rgba(15,36,71,.12); }
.ns-pipeline-dot.warn   { background: #f59e0b; border-color: #f59e0b; }
.ns-pipeline-dot.danger { background: #ef4444; border-color: #ef4444; }
.ns-pipeline-line { flex: 1; height: 2px; background: var(--ns-border); transition: background .3s ease; }
.ns-pipeline-line.filled { background: var(--ns-green); }
.ns-pipeline-label { font-size: .7rem; color: var(--ns-text-muted); margin-top: 5px; text-align: center; white-space: nowrap; }
.ns-pipeline-label.active { color: var(--ns-navy); font-weight: 700; }
.ns-pipeline-label.done   { color: var(--ns-green-dark); font-weight: 600; }
.ns-pipeline-label.warn   { color: #d97706; font-weight: 600; }
.ns-pipeline-label.danger { color: #dc2626; font-weight: 600; }


/* ═══════════════════════════════════════════════════════
   FINANCIALS TABS & CHART
═══════════════════════════════════════════════════════ */
.ns-fin-tabs { display: flex; gap: 4px; background: var(--ns-bg); border: 1px solid var(--ns-border); border-radius: var(--ns-radius); padding: 4px; flex-wrap: wrap; }
.ns-fin-tabs button { background: transparent; border: none; outline: none; cursor: pointer; color: var(--ns-text-muted); font-size: .85rem; font-weight: 500; padding: 7px 18px; border-radius: 8px; display: flex; align-items: center; gap: 7px; transition: var(--ns-transition-fast); white-space: nowrap; }
.ns-fin-tabs button:hover  { color: var(--ns-navy); background: rgba(15,36,71,.05); }
.ns-fin-tabs button.active { background: var(--ns-card-bg); color: var(--ns-navy); font-weight: 700; box-shadow: var(--ns-shadow-xs); }
.ns-month-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-bottom: 0; }
.ns-month-bar-col { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; gap: 2px; cursor: pointer; padding: 4px 2px 0; border-radius: 6px; transition: background .12s ease; }
.ns-month-bar-col:hover  { background: rgba(15,36,71,.04); }
.ns-month-bar-col.active { background: rgba(15,36,71,.07); }
.ns-month-bar-pair       { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.ns-month-bar { width: 14px; border-radius: 3px 3px 0 0; min-height: 2px; transition: height .4s ease, opacity .2s ease; }
.ns-month-bar--inc { background: var(--ns-green); }
.ns-month-bar--exp { background: rgba(239,68,68,.55); }
.ns-month-bar-col:hover .ns-month-bar--inc { opacity: .85; }
.ns-month-bar-col:hover .ns-month-bar--exp { opacity: .85; }
.ns-month-bar-label { font-size: .65rem; color: var(--ns-text-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin-top: 4px; }
.ns-month-bar-col.active .ns-month-bar-label { color: var(--ns-navy); font-weight: 700; }
.ns-bar-legend { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--ns-text-muted); }
.ns-bar-legend::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.ns-bar-legend--inc::before { background: var(--ns-green); }
.ns-bar-legend--exp::before { background: rgba(239,68,68,.55); }


/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════════════════ */
.ns-toast-wrap { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 8px; z-index: 9999; pointer-events: none; }
.ns-toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 10px; font-size: .88rem; font-weight: 500; box-shadow: 0 4px 20px rgba(0,0,0,.15); animation: ns-fadein .22s ease; pointer-events: auto; max-width: 340px; }
.ns-toast.success { background: var(--ns-green); color: #fff; }
.ns-toast.error   { background: #ef4444;          color: #fff; }
.ns-toast.info    { background: var(--ns-navy);   color: #fff; }
.ns-toast.warn    { background: #f59e0b;           color: #fff; }


/* ═══════════════════════════════════════════════════════
   QUICK ACTIONS STRIP (Dashboard)
═══════════════════════════════════════════════════════ */
.ns-quick-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: 12px 16px; background: var(--ns-card-bg); border: 1px solid var(--ns-border); border-radius: var(--ns-radius); box-shadow: var(--ns-shadow-xs); margin-bottom: 1.5rem; }
.ns-quick-actions .label { font-size: .8rem; color: var(--ns-text-muted); margin-right: .25rem; }


/* ═══════════════════════════════════════════════════════
   KPI CARDS
═══════════════════════════════════════════════════════ */
.ns-kpi-card { background: var(--ns-card-bg); border: 1px solid var(--ns-border); border-radius: var(--ns-radius); box-shadow: var(--ns-shadow-xs); padding: .875rem 1rem; transition: var(--ns-transition); }
.ns-kpi-card:hover { box-shadow: var(--ns-shadow-sm); }
.ns-kpi-label { font-size: .73rem; color: var(--ns-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.ns-kpi-value { font-size: 1.55rem; font-weight: 800; line-height: 1.1; color: var(--ns-navy); letter-spacing: -.02em; }


/* ═══════════════════════════════════════════════════════
   ACCOUNTING SAAS PRICING
═══════════════════════════════════════════════════════ */
.ni-acc-tier-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 12px; border-radius: 20px; margin-bottom: 8px; }
.ni-acc-price { font-size: 2.2rem; font-weight: 800; color: var(--ns-navy); line-height: 1.1; margin-bottom: 2px; }
.ni-acc-price span { font-size: .95rem; font-weight: 500; color: var(--ns-text-muted); margin-left: 2px; }
.ni-acc-price-sub { font-size: .75rem; color: var(--ns-text-muted); margin-bottom: 4px; }


/* ═══════════════════════════════════════════════════════
   TOOLTIPS
═══════════════════════════════════════════════════════ */
.ns-tip { position: relative; display: inline-flex; align-items: center; }
.ns-tip-label { position: absolute; z-index: 9990; background: #1a2744; color: #fff; font-size: .74rem; font-weight: 400; line-height: 1.5; padding: 7px 11px; border-radius: 7px; white-space: normal; max-width: 240px; min-width: 120px; text-align: left; pointer-events: none; opacity: 0; transition: opacity .15s ease; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.ns-tip:hover .ns-tip-label,
.ns-tip:focus-within .ns-tip-label { opacity: 1; }
.ns-tip--top    .ns-tip-label { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.ns-tip--top    .ns-tip-label::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #1a2744; }
.ns-tip--bottom .ns-tip-label { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.ns-tip--bottom .ns-tip-label::after { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-bottom-color: #1a2744; }
.ns-tip--left   .ns-tip-label { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.ns-tip--left   .ns-tip-label::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: #1a2744; }
.ns-tip--right  .ns-tip-label { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.ns-tip--right  .ns-tip-label::after { content: ''; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right-color: #1a2744; }

.ns-help-badge       { color: var(--ns-text-muted); font-size: .85rem; cursor: help; margin-left: 4px; vertical-align: middle; transition: color .15s ease; }
.ns-help-badge:hover,
.ns-help-badge:focus { color: var(--ns-navy); outline: none; }
.ns-help-badge i     { font-size: .82rem; }


/* ═══════════════════════════════════════════════════════
   PAGE INFO BAND
═══════════════════════════════════════════════════════ */
.ns-page-info { display: flex; align-items: flex-start; gap: 14px; padding: 13px 18px; border-radius: var(--ns-radius); border: 1px solid; font-size: .875rem; line-height: 1.5; }
.ns-page-info--default { background: rgba(41,118,212,.05); border-color: rgba(41,118,212,.16); color: var(--ns-text); }
.ns-page-info--default .ns-page-info-icon { color: #1d4ed8; }
.ns-page-info--default .ns-page-info-link { color: #1d4ed8; }
.ns-page-info--warn    { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.28); color: var(--ns-text); }
.ns-page-info--warn    .ns-page-info-icon { color: #d97706; }
.ns-page-info--warn    .ns-page-info-link { color: #d97706; }
.ns-page-info--tip     { background: rgba(92,184,64,.07); border-color: rgba(92,184,64,.22); color: var(--ns-text); }
.ns-page-info--tip     .ns-page-info-icon { color: var(--ns-green-dark); }
.ns-page-info--tip     .ns-page-info-link { color: var(--ns-green-dark); }
.ns-page-info-icon  { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.ns-page-info-body  { flex: 1; min-width: 0; }
.ns-page-info-title { font-weight: 700; font-size: .88rem; margin-bottom: 2px; color: var(--ns-text); }
.ns-page-info-desc  { color: var(--ns-text-muted); font-size: .83rem; }
.ns-page-info-link  { font-size: .78rem; font-weight: 600; white-space: nowrap; text-decoration: none; margin-top: 2px; flex-shrink: 0; align-self: center; }
.ns-page-info-link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════
   SKELETON SHIMMER
═══════════════════════════════════════════════════════ */
@keyframes ns-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
.ns-skeleton {
    display: inline-block; height: .75rem; border-radius: 4px;
    background: linear-gradient(90deg, rgba(226,232,240,.7) 25%, rgba(241,245,249,.9) 50%, rgba(226,232,240,.7) 75%);
    background-size: 800px 100%;
    animation: ns-shimmer 1.4s ease-in-out infinite;
    vertical-align: middle;
}
.ns-skeleton--sm     { height: .6rem; }
.ns-skeleton--md     { height: 1rem; }
.ns-skeleton--lg     { height: 1.35rem; }
.ns-skeleton--circle { height: 40px; width: 40px; border-radius: 50%; }
.ns-skeleton--card   { display: block; height: 90px; width: 100%; border-radius: var(--ns-radius); }


/* ═══════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════ */
.ns-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; text-align: center; }
.ns-empty-icon  { width: 64px; height: 64px; border-radius: 18px; background: rgba(15,36,71,.06); color: var(--ns-text-muted); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 16px; }
.ns-empty-title { font-size: .95rem; font-weight: 700; color: var(--ns-navy); margin-bottom: 6px; }
.ns-empty-msg   { font-size: .83rem; color: var(--ns-text-muted); max-width: 320px; margin-bottom: 0; line-height: 1.6; }


/* ═══════════════════════════════════════════════════════
   FORM HELPERS
═══════════════════════════════════════════════════════ */
.ns-field-help { display: flex; align-items: flex-start; gap: 5px; font-size: .77rem; color: var(--ns-text-muted); margin-top: 4px; line-height: 1.45; }
.ns-field-help i { font-size: .8rem; margin-top: 1px; flex-shrink: 0; }
.ns-field-help--warn  { color: #d97706; }
.ns-field-help--error { color: #dc2626; }
.ns-kbd { display: inline-flex; align-items: center; gap: 2px; font-size: .68rem; font-family: 'Consolas', monospace; background: var(--ns-bg); border: 1px solid var(--ns-border); border-radius: 4px; padding: 1px 5px; color: var(--ns-text-muted); line-height: 1.5; }


/* ═══════════════════════════════════════════════════════
   v3 ENTRANCE ANIMATION SYSTEM
═══════════════════════════════════════════════════════ */
@keyframes ns-fade-up   { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes ns-fade-in   { from { opacity:0; } to { opacity:1; } }
@keyframes ns-scale-in  { from { opacity:0; transform:scale(.94) translateY(8px); } to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes ns-slide-left{ from { opacity:0; transform:translateX(-14px); } to { opacity:1; transform:translateX(0); } }
@keyframes ns-float     { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
@keyframes ns-dot-online{ 0%,100% { opacity:1; } 50% { opacity:.35; } }
@keyframes ns-glow-ring { 0%,100% { box-shadow:0 0 0 0 rgba(92,184,64,.45); } 60% { box-shadow:0 0 0 7px rgba(92,184,64,.0); } }
@keyframes ns-count-pop { 0% { transform:scale(1); } 40% { transform:scale(1.06); } 100% { transform:scale(1); } }
@keyframes ns-spin-slow { to { transform:rotate(360deg); } }
@keyframes ns-progress-in { from { width:0; } }
@keyframes ns-bar-grow   { from { height:0 !important; } }

/* Stagger containers — children animate in sequence */
.ns-stagger > *                   { animation: ns-fade-up .38s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger > *:nth-child(1)      { animation-delay:.04s; }
.ns-stagger > *:nth-child(2)      { animation-delay:.09s; }
.ns-stagger > *:nth-child(3)      { animation-delay:.14s; }
.ns-stagger > *:nth-child(4)      { animation-delay:.19s; }
.ns-stagger > *:nth-child(5)      { animation-delay:.24s; }
.ns-stagger > *:nth-child(6)      { animation-delay:.29s; }
.ns-stagger > *:nth-child(7)      { animation-delay:.34s; }
.ns-stagger > *:nth-child(8)      { animation-delay:.39s; }
.ns-stagger > *:nth-child(n+9)    { animation-delay:.44s; }

/* Grid stagger for Bootstrap .row > .col-* children */
.ns-stagger-grid > [class*="col"]:nth-child(1) { animation: ns-fade-up .38s .03s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(2) { animation: ns-fade-up .38s .08s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(3) { animation: ns-fade-up .38s .13s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(4) { animation: ns-fade-up .38s .18s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(5) { animation: ns-fade-up .38s .23s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(6) { animation: ns-fade-up .38s .28s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(7) { animation: ns-fade-up .38s .33s cubic-bezier(.25,0,.2,1) both; }
.ns-stagger-grid > [class*="col"]:nth-child(8) { animation: ns-fade-up .38s .38s cubic-bezier(.25,0,.2,1) both; }

.ns-fade-up   { animation: ns-fade-up   .38s cubic-bezier(.25,0,.2,1) both; }
.ns-scale-in  { animation: ns-scale-in  .32s cubic-bezier(.25,0,.2,1) both; }
.ns-slide-left{ animation: ns-slide-left .32s cubic-bezier(.25,0,.2,1) both; }

/* Honour reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ns-stagger > *, .ns-stagger-grid > [class*="col"],
    .ns-fade-up, .ns-scale-in, .ns-slide-left,
    .ns-empty-icon, .ns-bar { animation: none !important; transition: none !important; }
}


/* ═══════════════════════════════════════════════════════
   STAT CARD ENHANCEMENTS
═══════════════════════════════════════════════════════ */
.ns-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(15,36,71,.11), 0 2px 6px rgba(15,36,71,.06);
    border-color: rgba(92,184,64,.22);
}
.ns-stat-val.ns-count-pop { animation: ns-count-pop .4s ease; }

/* Micro-sparkline row inside a stat card */
.ns-stat-spark {
    display: flex; align-items: flex-end; gap: 2px; height: 26px; margin-top: 8px;
}
.ns-stat-spark-bar {
    flex:1; min-width:4px; border-radius:2px 2px 0 0;
    background: rgba(0,0,0,.06);
    animation: ns-bar-grow .5s cubic-bezier(.4,0,.2,1) both;
}
.ns-stat-spark-bar.hi { background: var(--ns-green); }
.ns-stat:has(.ns-stat-icon.navy)   .ns-stat-spark-bar.hi { background: var(--ns-navy-mid); }
.ns-stat:has(.ns-stat-icon.sky)    .ns-stat-spark-bar.hi { background: var(--ns-sky); }
.ns-stat:has(.ns-stat-icon.warn)   .ns-stat-spark-bar.hi { background: #f59e0b; }
.ns-stat:has(.ns-stat-icon.danger) .ns-stat-spark-bar.hi { background: #ef4444; }


/* ═══════════════════════════════════════════════════════
   CARD HOVER GLOW
═══════════════════════════════════════════════════════ */
.ns-card { transition: box-shadow .2s cubic-bezier(.4,0,.2,1), border-color .2s; }
.ns-card:hover {
    border-color: rgba(92,184,64,.18);
    box-shadow: 0 4px 22px rgba(15,36,71,.10), 0 1px 4px rgba(15,36,71,.06);
}
.ns-card--glass      { background:rgba(255,255,255,.78); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.ns-card--accent-green { border-top: 3px solid var(--ns-green); }
.ns-card--accent-navy  { border-top: 3px solid var(--ns-navy); }
.ns-card--accent-sky   { border-top: 3px solid var(--ns-sky); }
.ns-card--accent-warn  { border-top: 3px solid #f59e0b; }
.ns-card--accent-danger{ border-top: 3px solid #ef4444; }


/* ═══════════════════════════════════════════════════════
   SIDEBAR NAV SEARCH
═══════════════════════════════════════════════════════ */
.ns-nav-search-wrap {
    padding: 10px 14px 6px;
    border-bottom: 1px solid var(--ns-sidebar-border);
    flex-shrink: 0;
}
.ns-nav-search {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 8px;
    padding: 7px 10px 7px 32px;
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    outline: none;
    transition: background .15s, border-color .15s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='rgba(255,255,255,0.3)'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.656a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
}
.ns-nav-search::placeholder { color: rgba(255,255,255,.28); }
.ns-nav-search:focus         { background-color:rgba(255,255,255,.11); border-color:rgba(92,184,64,.55); }
.ns-nav-hidden               { display: none !important; }


/* ═══════════════════════════════════════════════════════
   TOPBAR SEARCH BAR
═══════════════════════════════════════════════════════ */
.ns-topbar-search {
    flex: 1; max-width: 320px;
    position: relative; display: flex; align-items: center;
}
.ns-topbar-search input {
    width: 100%;
    background: var(--ns-bg);
    border: 1px solid var(--ns-border);
    border-radius: 10px;
    padding: 8px 60px 8px 34px;
    font-size: .84rem; color: var(--ns-text);
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.ns-topbar-search input:focus {
    border-color: var(--ns-green);
    box-shadow: 0 0 0 3px rgba(92,184,64,.13);
    background: #fff;
}
.ns-topbar-search input::placeholder { color: var(--ns-text-light); }
.ns-topbar-search-icon {
    position: absolute; left: 11px;
    color: var(--ns-text-light); font-size: .95rem; pointer-events: none;
}
.ns-topbar-search-kbd {
    position: absolute; right: 9px;
    background: var(--ns-bg-2); border: 1px solid var(--ns-border);
    border-radius: 4px; padding: 1px 6px; font-size: .65rem;
    color: var(--ns-text-muted); font-family: 'Consolas', monospace; pointer-events: none;
}
@media (max-width: 860px) { .ns-topbar-search { display: none; } }


/* ═══════════════════════════════════════════════════════
   DASHBOARD WELCOME BANNER
═══════════════════════════════════════════════════════ */
.ns-welcome {
    background: linear-gradient(135deg, var(--ns-navy-dark) 0%, var(--ns-navy) 55%, #1a5e8a 100%);
    border-radius: var(--ns-radius-lg);
    padding: 26px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; margin-bottom: 24px;
    position: relative; overflow: hidden;
    animation: ns-fade-up .4s cubic-bezier(.25,0,.2,1) both;
    box-shadow: 0 8px 32px rgba(9,24,50,.22);
}
.ns-welcome::before {
    content:''; position:absolute; top:-70px; right:-70px;
    width:280px; height:280px; background:var(--ns-green);
    border-radius:50%; opacity:.07; pointer-events:none;
}
.ns-welcome::after {
    content:''; position:absolute; bottom:-80px; left:8%;
    width:220px; height:220px; background:var(--ns-sky);
    border-radius:50%; opacity:.06; pointer-events:none;
}
.ns-welcome-body         { position:relative; z-index:1; }
.ns-welcome-greeting     { font-size:1.4rem; font-weight:800; color:#fff; letter-spacing:-.02em; line-height:1.2; margin-bottom:3px; }
.ns-welcome-greeting span{ color:var(--ns-green-light); }
.ns-welcome-date         { font-size:.8rem; color:rgba(255,255,255,.45); }
.ns-welcome-actions      { position:relative; z-index:1; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.ns-wb {
    display:inline-flex; align-items:center; gap:7px;
    padding:9px 18px; border-radius:9px;
    font-size:.84rem; font-weight:600; cursor:pointer;
    transition:var(--ns-transition); text-decoration:none;
}
.ns-wb-primary  { background:var(--ns-green); color:#fff; border:none; box-shadow:0 4px 16px rgba(92,184,64,.35); }
.ns-wb-primary:hover { background:var(--ns-green-dark); color:#fff; transform:translateY(-1px); box-shadow:0 6px 20px rgba(92,184,64,.45); }
.ns-wb-ghost    { background:rgba(255,255,255,.10); color:rgba(255,255,255,.85); border:1px solid rgba(255,255,255,.2); }
.ns-wb-ghost:hover { background:rgba(255,255,255,.18); color:#fff; border-color:rgba(255,255,255,.35); }
@media (max-width:620px) { .ns-welcome { flex-direction:column; align-items:flex-start; padding:22px 20px; } }


/* ═══════════════════════════════════════════════════════
   QUICK ACTION ICON TILES
═══════════════════════════════════════════════════════ */
.ns-action-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px; margin-bottom: 24px;
}
.ns-action-tile {
    background: var(--ns-card-bg); border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius);
    padding: 18px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    text-decoration: none; cursor: pointer; text-align: center;
    transition: transform .17s cubic-bezier(.4,0,.2,1), box-shadow .17s, border-color .17s;
    box-shadow: var(--ns-shadow-xs);
}
.ns-action-tile:hover {
    transform: translateY(-3px); box-shadow: var(--ns-shadow);
    text-decoration: none;
}
.ns-action-tile-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
    transition: transform .17s ease;
}
.ns-action-tile:hover .ns-action-tile-icon { transform: scale(1.12); }
.ns-ati--navy   { background:rgba(15,36,71,.08);   color:var(--ns-navy-mid); }
.ns-ati--green  { background:rgba(92,184,64,.12);  color:var(--ns-green-dark); }
.ns-ati--sky    { background:rgba(41,182,212,.12); color:var(--ns-sky); }
.ns-ati--warn   { background:rgba(245,158,11,.12); color:#d97706; }
.ns-ati--purple { background:rgba(124,58,237,.10); color:#7c3aed; }
.ns-ati--red    { background:rgba(239,68,68,.10);  color:#dc2626; }

.ns-action-tile:hover .ns-ati--navy   { background:rgba(15,36,71,.14); }
.ns-action-tile:hover .ns-ati--green  { background:rgba(92,184,64,.18); }
.ns-action-tile:hover .ns-ati--sky    { background:rgba(41,182,212,.18); }
.ns-action-tile:hover .ns-ati--warn   { background:rgba(245,158,11,.18); }

.ns-action-tile-lbl { font-size:.8rem; font-weight:700; color:var(--ns-text); line-height:1.3; }
.ns-action-tile-sub { font-size:.7rem; color:var(--ns-text-muted); line-height:1.3; }


/* ═══════════════════════════════════════════════════════
   ENHANCED KPI CARD (color variants)
═══════════════════════════════════════════════════════ */
.ns-kpi-card { transition: transform .17s, box-shadow .17s, border-color .17s; }
.ns-kpi-card:hover { transform:translateY(-2px); box-shadow:var(--ns-shadow-sm); border-color:rgba(92,184,64,.18); }
.ns-kpi-card--green  { border-left: 3px solid var(--ns-green); }
.ns-kpi-card--navy   { border-left: 3px solid var(--ns-navy-mid); }
.ns-kpi-card--sky    { border-left: 3px solid var(--ns-sky); }
.ns-kpi-card--warn   { border-left: 3px solid #f59e0b; }
.ns-kpi-card--danger { border-left: 3px solid #ef4444; }


/* ═══════════════════════════════════════════════════════
   ALERT CHIPS (replaces Bootstrap alert strip on dashboard)
═══════════════════════════════════════════════════════ */
.ns-alert-strip { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.ns-alert-chip {
    display:inline-flex; align-items:center; gap:8px;
    padding:7px 14px; border-radius:9px;
    font-size:.82rem; font-weight:600;
    text-decoration:none;
    transition:var(--ns-transition);
    animation:ns-scale-in .28s cubic-bezier(.25,0,.2,1) both;
}
.ns-alert-chip--danger { background:rgba(239,68,68,.08);  border:1px solid rgba(239,68,68,.25);  color:#dc2626; }
.ns-alert-chip--danger:hover { background:rgba(239,68,68,.14); color:#dc2626; }
.ns-alert-chip--warn   { background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.25); color:#d97706; }
.ns-alert-chip--warn:hover   { background:rgba(245,158,11,.14); color:#d97706; }
.ns-alert-chip--info   { background:rgba(41,182,212,.08); border:1px solid rgba(41,182,212,.25); color:#0e7490; }
.ns-alert-chip--info:hover   { background:rgba(41,182,212,.14); color:#0e7490; }


/* ═══════════════════════════════════════════════════════
   REVENUE CHART BARS (gradient, animated grow)
═══════════════════════════════════════════════════════ */
.ns-bar-col {
    display:flex; flex-direction:column; align-items:center; flex:1; min-width:0;
    gap:3px; cursor:pointer; padding:4px 2px 0; border-radius:6px;
    transition:background .12s;
}
.ns-bar-col:hover { background:rgba(15,36,71,.04); }
.ns-bar-pair { display:flex; align-items:flex-end; gap:2px; }
.ns-bar {
    border-radius: 3px 3px 0 0; min-height: 3px; min-width: 10px;
    transition: height .5s cubic-bezier(.4,0,.2,1), opacity .2s;
    animation: ns-bar-grow .55s cubic-bezier(.4,0,.2,1) both;
}
.ns-bar--rev { background: linear-gradient(to top, var(--ns-green-dark), var(--ns-green-light)); }
.ns-bar--exp { background: linear-gradient(to top, #ef4444, #fca5a5); }
.ns-bar-col:hover .ns-bar { opacity:.8; }
.ns-bar-lbl {
    font-size:.62rem; color:var(--ns-text-light); white-space:nowrap;
    overflow:hidden; text-overflow:ellipsis; max-width:100%; text-align:center;
}


/* ═══════════════════════════════════════════════════════
   TABLE ROW ENTRANCE STAGGER
═══════════════════════════════════════════════════════ */
.ns-table tbody.ns-stagger tr                   { animation:ns-fade-up .3s cubic-bezier(.25,0,.2,1) both; }
.ns-table tbody.ns-stagger tr:nth-child(1)      { animation-delay:.02s; }
.ns-table tbody.ns-stagger tr:nth-child(2)      { animation-delay:.05s; }
.ns-table tbody.ns-stagger tr:nth-child(3)      { animation-delay:.08s; }
.ns-table tbody.ns-stagger tr:nth-child(4)      { animation-delay:.11s; }
.ns-table tbody.ns-stagger tr:nth-child(5)      { animation-delay:.14s; }
.ns-table tbody.ns-stagger tr:nth-child(6)      { animation-delay:.17s; }
.ns-table tbody.ns-stagger tr:nth-child(7)      { animation-delay:.20s; }
.ns-table tbody.ns-stagger tr:nth-child(8)      { animation-delay:.23s; }
.ns-table tbody.ns-stagger tr:nth-child(n+9)    { animation-delay:.26s; }


/* ═══════════════════════════════════════════════════════
   EMPTY STATE (float animation)
═══════════════════════════════════════════════════════ */
.ns-empty-icon { animation: ns-float 3.2s ease-in-out infinite; }


/* ═══════════════════════════════════════════════════════
   STATUS DOTS
═══════════════════════════════════════════════════════ */
.ns-status-dot {
    width:8px; height:8px; border-radius:50%; flex-shrink:0; display:inline-block;
}
.ns-status-dot--online  { background:var(--ns-green); animation:ns-dot-online 2s ease-in-out infinite; }
.ns-status-dot--away    { background:#f59e0b; }
.ns-status-dot--busy    { background:#ef4444; }
.ns-status-dot--offline { background:rgba(100,116,139,.35); }


/* ═══════════════════════════════════════════════════════
   SIDEBAR SECTION BTN (open state glow)
═══════════════════════════════════════════════════════ */
.ns-section-btn.open .ns-section-btn-label i { color: var(--ns-green-light); }


/* ═══════════════════════════════════════════════════════
   TOPBAR PAGE-ICON CHIP
═══════════════════════════════════════════════════════ */
.ns-page-icon-chip {
    width:30px; height:30px; border-radius:8px;
    background:rgba(15,36,71,.07);
    display:flex; align-items:center; justify-content:center;
    font-size:.9rem; color:var(--ns-navy-mid); flex-shrink:0;
}


/* ═══════════════════════════════════════════════════════
   LOADING SPINNER BUTTON STATE
═══════════════════════════════════════════════════════ */
.ns-btn-loading { position:relative; pointer-events:none; opacity:.78; }
.ns-btn-loading::after {
    content:''; display:inline-block; width:13px; height:13px;
    border:2px solid rgba(255,255,255,.35); border-top-color:#fff;
    border-radius:50%;
    animation:ns-spin-slow .65s linear infinite;
    margin-left:8px; vertical-align:middle;
}


/* ═══════════════════════════════════════════════════════
   SMOOTH GLOBAL SCROLLBAR
═══════════════════════════════════════════════════════ */
* { scrollbar-width: thin; scrollbar-color: rgba(100,116,139,.18) transparent; }
*::-webkit-scrollbar             { width:5px; height:5px; }
*::-webkit-scrollbar-track       { background:transparent; }
*::-webkit-scrollbar-thumb       { background:rgba(100,116,139,.2); border-radius:3px; }
*::-webkit-scrollbar-thumb:hover { background:rgba(100,116,139,.38); }


/* ═══════════════════════════════════════════════════════
   SECTION HEADING ROW
═══════════════════════════════════════════════════════ */
.ns-section-row {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:14px; padding-bottom:10px;
    border-bottom:1px solid var(--ns-border);
}
.ns-section-row-title {
    font-size:.88rem; font-weight:700; color:var(--ns-text);
    display:flex; align-items:center; gap:8px;
}
.ns-section-row-title i { color:var(--ns-text-muted); font-size:1rem; }
.ns-section-row-meta { font-size:.78rem; color:var(--ns-text-muted); }


/* ═══════════════════════════════════════════════════════
   FAQ ACCORDION  (marketing / accounting tab)
═══════════════════════════════════════════════════════ */
.ns-faq {
    background:    rgba(255,255,255,0.03);
    border:        1px solid rgba(124,58,237,0.18);
    border-radius: 14px;
    overflow:      hidden;
    transition:    border-color .2s, box-shadow .2s;
}
.ns-faq[open] {
    border-color: rgba(124,58,237,0.40);
    box-shadow:   0 4px 24px rgba(124,58,237,0.10);
}
.ns-faq summary {
    cursor:        pointer;
    list-style:    none;
    display:       flex;
    align-items:   center;
    justify-content: space-between;
    padding:       1.1rem 1.4rem;
    color:         #fff;
    font-weight:   700;
    font-size:     .95rem;
    gap:           1rem;
    user-select:   none;
}
.ns-faq summary::-webkit-details-marker { display: none; }
.ns-faq summary::after {
    content:     '+';
    font-size:   1.25rem;
    font-weight: 300;
    color:       rgba(167,139,250,0.70);
    flex-shrink: 0;
    transition:  transform .2s;
}
.ns-faq[open] summary::after {
    transform: rotate(45deg);
    color:     #a78bfa;
}
.ns-faq-body {
    padding:     0 1.4rem 1.1rem;
    color:       rgba(255,255,255,0.52);
    font-size:   .875rem;
    line-height: 1.75;
    border-top:  1px solid rgba(255,255,255,0.06);
    padding-top: .9rem;
}
