.nxcrm{--nx-primary:#152a62;--nx-dark:#07142f;--nx-muted:#657189;--nx-border:#dfe5f0;--nx-bg:#f4f6fb;color:var(--nx-dark);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5;box-sizing:border-box;max-width:none!important}
.nxcrm *{box-sizing:border-box}.nxcrm a{color:var(--nx-primary);text-decoration:none}.nxcrm-shell{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:760px;border:1px solid var(--nx-border);border-radius:18px;background:var(--nx-bg);overflow:hidden}.nxcrm-sidebar{display:flex;flex-direction:column;gap:20px;background:#fff;border-right:1px solid var(--nx-border);padding:24px 15px}.nxcrm-brand{padding:4px 8px 24px;border-bottom:1px solid var(--nx-border)}.nxcrm-brand img{max-width:155px;object-fit:contain;height:auto;display:block}.nxcrm-brand span{color:var(--nx-muted);display:block;font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin-top:9px;font-weight:700}.nxcrm-nav{display:grid;gap:4px}.nxcrm-nav a{display:block;border-radius:10px;padding:12px 14px;font-weight:600}.nxcrm-nav a:hover,.nxcrm-nav a:focus-visible{background:#edf2fc}.nxcrm-nav a.is-active{background:var(--nx-primary);color:white}.nxcrm-nav-bottom{margin-top:auto;padding:20px 8px 0;border-top:1px solid var(--nx-border)}.nxcrm-nav-bottom p{font-weight:700;margin:8px 0}.nxcrm-nav-bottom small,.nxcrm-muted{color:var(--nx-muted);font-size:13px}.nxcrm-main{padding:26px;min-width:0}.nxcrm-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.nxcrm-header h1{font-size:28px;line-height:1.2;margin:7px 0;font-weight:800;color:var(--nx-dark)}.nxcrm-overline{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--nx-muted);font-weight:800}.nxcrm-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--nx-primary);color:white;font-weight:800}.nxcrm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.nxcrm-kpi,.nxcrm-card{background:#fff;border:1px solid var(--nx-border);border-radius:16px;box-shadow:0 9px 28px rgba(7,20,47,.04)}.nxcrm-kpi{padding:20px 18px;min-height:106px}.nxcrm-kpi span,.nxcrm-kpi strong,.nxcrm-kpi small{display:block}.nxcrm-kpi span{font-size:13px;color:var(--nx-muted);font-weight:600}.nxcrm-kpi strong{font-size:30px;line-height:1.25;margin-top:11px;font-variant-numeric:tabular-nums}.nxcrm-kpi small{color:var(--nx-muted)}.nxcrm-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nxcrm-card{padding:23px;margin-bottom:16px}.nxcrm-card h2{font-size:19px;line-height:1.3;margin:0 0 13px;font-weight:800}.nxcrm-card p{line-height:1.65}.nxcrm-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;background:var(--nx-primary)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:10px 20px!important;font-weight:700;cursor:pointer;text-decoration:none!important;white-space:normal}.nxcrm-cta:hover{background:#07142f!important}.nxcrm-section-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.nxcrm-section-header h2{margin-bottom:0}.nxcrm-search,.nxcrm-form select,.nxcrm-form input[type=email]{width:100%;max-width:350px;padding:12px 13px;border:1px solid var(--nx-border);border-radius:11px;font:inherit;color:var(--nx-dark);background:white}.nxcrm-search{max-width:240px}.nxcrm-table-scroll{width:100%;overflow-x:auto}.nxcrm-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:520px}.nxcrm-table th{font-weight:750;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--nx-muted);padding:13px 12px;border-bottom:1px solid var(--nx-border)}.nxcrm-table td{border-bottom:1px solid #edf0f5;padding:13px 12px;vertical-align:middle}.nxcrm-table tr:last-child td{border-bottom:0}.nxcrm-table tr[hidden]{display:none}.nxcrm-status{background:#eff3fa;border:1px solid #dbe4f3;border-radius:999px;font-size:12px;padding:5px 10px;white-space:nowrap}.nxcrm-details{display:grid;gap:0;margin:0}.nxcrm-details div{display:grid;grid-template-columns:minmax(100px,38%) minmax(0,1fr);gap:15px;padding:13px 0;border-bottom:1px solid var(--nx-border)}.nxcrm-details dt{font-size:13px;color:var(--nx-muted)}.nxcrm-details dd{margin:0;overflow-wrap:anywhere;font-weight:600}.nxcrm-bars{display:grid;gap:13px}.nxcrm-bars>div{display:grid;grid-template-columns:100px minmax(0,1fr) 30px;align-items:center;gap:10px}.nxcrm-bar{height:11px;background:#f0f2f7;border-radius:7px;overflow:hidden}.nxcrm-bar i{background:#152a62;height:100%;display:block;border-radius:7px}.nxcrm-trend{height:185px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px}.nxcrm-trend>div{height:100%;min-width:32px;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:4px}.nxcrm-trendbar{display:block;background:#152a62;border-radius:7px 7px 0 0;width:23px;min-height:4px}.nxcrm-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.nxcrm-form label{display:grid;gap:6px;font-weight:600;min-width:195px;max-width:350px}.nxcrm-form label select{max-width:100%}.nxcrm-form .nxcrm-checkbox{display:flex;align-items:center;max-width:none;min-width:0;font-weight:400}.nxcrm-form .nxcrm-checkbox input{margin-right:8px}.nxcrm-email-preview{display:block;width:100%;height:620px;border:1px solid var(--nx-border);border-radius:13px;background:#fff;margin:17px 0}.nxcrm-note{background:#eef3fc;border:1px solid #d7e2f4;border-radius:11px;padding:13px 16px}.nxcrm-linkbutton{border:0;background:transparent;color:#152a62;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.nxcrm-login{background:#f4f6fb;padding:50px 15px;border-radius:18px}.nxcrm-login-card{margin:auto;max-width:425px;background:#fff;border:1px solid var(--nx-border);border-radius:18px;padding:30px;box-shadow:0 22px 60px rgba(7,20,47,.07)}.nxcrm-login-card h2{font-size:23px;margin:25px 0 10px}.nxcrm-login-card input[type=text],.nxcrm-login-card input[type=password]{display:block;width:100%;padding:12px;border:1px solid var(--nx-border);border-radius:9px}.nxcrm-login-card #wp-submit{background:#152a62;border:0;border-radius:999px;color:#fff;padding:12px 20px;cursor:pointer}.nxcrm-login-card label{display:block;font-weight:600;margin-top:14px}
@media(max-width:1150px){.nxcrm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.nxcrm-shell{display:block;border-radius:12px}.nxcrm-sidebar{border-right:0;border-bottom:1px solid var(--nx-border);gap:12px;padding:15px}.nxcrm-brand{padding:5px 8px 12px}.nxcrm-nav{display:flex;overflow-x:auto;gap:6px;scroll-snap-type:x proximity}.nxcrm-nav a{white-space:nowrap;scroll-snap-align:start}.nxcrm-nav-bottom{padding:0;border:0;display:flex;gap:12px;align-items:center;justify-content:space-between}.nxcrm-nav-bottom p{margin:0}.nxcrm-nav-bottom small{display:none}.nxcrm-main{padding:18px}.nxcrm-header h1{font-size:23px}.nxcrm-grid-2{grid-template-columns:1fr}.nxcrm-card{padding:18px}}
@media(max-width:430px){.nxcrm-kpis{grid-template-columns:1fr 1fr;gap:9px}.nxcrm-kpi{padding:14px;min-height:92px}.nxcrm-kpi strong{font-size:25px}.nxcrm-main{padding:13px}.nxcrm-card{padding:14px}.nxcrm-form{display:grid;grid-template-columns:1fr}.nxcrm-form label{min-width:0}.nxcrm-search{max-width:100%}.nxcrm-details div{grid-template-columns:1fr;gap:4px}.nxcrm-email-preview{height:500px}}

/* NEXPOS CRM Lite 0.2.0-rc.2: enterprise glass interface with solid-color fallback. */
.nxcrm.nxcrm-glass{--nx-primary:#182f6b;--nx-dark:#09172f;--nx-muted:#51647f;--nx-border:rgba(153,169,194,.34);--nx-bg:#eef3fa;--nx-soft:rgba(255,255,255,.82);position:relative;isolation:isolate;}
.nxcrm.nxcrm-glass::before{content:"";z-index:-1;position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 83% 5%,rgba(110,146,213,.24),transparent 33%),radial-gradient(ellipse at 1% 76%,rgba(90,133,203,.12),transparent 36%);}
.nxcrm.nxcrm-glass .nxcrm-shell{background:linear-gradient(135deg,#eff4fb 0%,#f8faff 63%,#e9f0fa 100%);border:1px solid #d9e3f2;box-shadow:0 24px 65px rgba(9,23,47,.10);}
.nxcrm.nxcrm-glass .nxcrm-sidebar{background:linear-gradient(170deg,#07172f 0%,#10295d 65%,#193a79 100%);color:#fff;border-right:1px solid rgba(255,255,255,.14);}
.nxcrm.nxcrm-glass .nxcrm-brand{border-bottom-color:rgba(255,255,255,.17)}
.nxcrm.nxcrm-glass .nxcrm-brand span,.nxcrm.nxcrm-glass .nxcrm-nav-caption,.nxcrm.nxcrm-glass .nxcrm-nav-bottom small{color:#c1d2f3}
.nxcrm.nxcrm-glass .nxcrm-nav a{color:#eef4ff;display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid transparent;transition:background-color .16s ease,color .16s ease,border-color .16s ease;}
.nxcrm.nxcrm-glass .nxcrm-nav a:hover,.nxcrm.nxcrm-glass .nxcrm-nav a:focus-visible{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.23);color:white;}
.nxcrm.nxcrm-glass .nxcrm-nav a.is-active{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.28);box-shadow:inset 3px 0 0 #c9ddff;color:white}
.nxcrm.nxcrm-glass .nxcrm-nav-bottom{border-top-color:rgba(255,255,255,.16)}
.nxcrm.nxcrm-glass .nxcrm-nav-bottom p,.nxcrm.nxcrm-glass .nxcrm-signout{color:#fff}
.nxcrm.nxcrm-glass .nxcrm-auth-label{color:#d4e1f9}
.nxcrm.nxcrm-glass .nxcrm-main{background:transparent}
.nxcrm.nxcrm-glass .nxcrm-kpi,.nxcrm.nxcrm-glass .nxcrm-card{background:#fff;background:var(--nx-soft);border:1px solid rgba(255,255,255,.92);box-shadow:0 9px 34px rgba(10,32,78,.07),0 0 0 1px rgba(152,172,202,.21);}
.nxcrm.nxcrm-glass .nxcrm-kpi strong,.nxcrm.nxcrm-glass .nxcrm-card h2{color:#0b1a38}
.nxcrm.nxcrm-glass .nxcrm-hero{background:linear-gradient(120deg,#081931,#122d67 73%,#31559e);box-shadow:0 16px 40px rgba(16,42,85,.2);border-color:rgba(255,255,255,.1)}
.nxcrm.nxcrm-glass .nxcrm-hero h2,.nxcrm.nxcrm-glass .nxcrm-hero p{color:white}
.nxcrm.nxcrm-glass .nxcrm-hero h2 span{color:#b8d4ff}
.nxcrm.nxcrm-glass .nxcrm-cta:focus-visible,.nxcrm.nxcrm-glass button:focus-visible,.nxcrm.nxcrm-glass input:focus-visible,.nxcrm.nxcrm-glass select:focus-visible,.nxcrm.nxcrm-glass a:focus-visible{outline:3px solid #5b90ef;outline-offset:3px}
.nxcrm.nxcrm-glass .nxcrm-email-frame{background:#f7faff;border:1px solid #dce6f5;border-radius:15px;padding:11px}
.nxcrm.nxcrm-glass .nxcrm-email-preview{background:white;margin:10px 0 0;min-height:560px}
.nxcrm.nxcrm-glass .nxcrm-test-pill{background:#eaf1ff;color:#173264;border:1px solid #cad9f5;max-width:100%;overflow-wrap:anywhere;}
.nxcrm.nxcrm-glass .nxcrm-note{color:#172b4b}
.nxcrm .nxcrm-filterbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
.nxcrm .nxcrm-filter-label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--nx-muted)}
.nxcrm .nxcrm-filterbar select,.nxcrm .nxcrm-filterbar input{min-width:170px;min-height:44px;padding:9px 12px;border:1px solid #b8c5db;border-radius:10px;color:#101f3d;background:#fff;font:inherit}
.nxcrm .nxcrm-clear{border:1px solid #afc2dd;border-radius:10px;background:rgba(255,255,255,.86);font-weight:650;padding:10px 15px;min-height:44px;cursor:pointer;color:#193769}
.nxcrm .nxcrm-filter-count{color:#445d7c;font-size:12px;min-height:20px;margin:5px 0 10px}
.nxcrm .nxcrm-linkbutton:hover,.nxcrm .nxcrm-table-action:hover{text-decoration:underline}
.nxcrm.nxcrm-glass .nxcrm-table-scroll{border:1px solid #e1e9f5;border-radius:10px;background:rgba(255,255,255,.65)}
.nxcrm.nxcrm-glass .nxcrm-table tbody tr:hover{background:rgba(236,243,253,.65)}
@supports ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))){
  .nxcrm.nxcrm-glass .nxcrm-card,.nxcrm.nxcrm-glass .nxcrm-kpi{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
}
@media(max-width:780px){.nxcrm.nxcrm-glass .nxcrm-sidebar{border-bottom:1px solid rgba(255,255,255,.2)}.nxcrm.nxcrm-glass .nxcrm-shell{border-radius:14px}.nxcrm.nxcrm-glass .nxcrm-nav a.is-active{box-shadow:inset 0 -3px 0 #c9ddff}}
@media(max-width:480px){.nxcrm .nxcrm-filterbar{display:grid;grid-template-columns:1fr;gap:10px}.nxcrm .nxcrm-filterbar select,.nxcrm .nxcrm-filterbar input,.nxcrm .nxcrm-filterbar .nxcrm-clear{width:100%;max-width:100%;min-width:0}.nxcrm.nxcrm-glass .nxcrm-email-preview{min-height:500px}.nxcrm.nxcrm-glass .nxcrm-header h1{line-height:1.22}}
@media(prefers-reduced-motion:reduce){.nxcrm.nxcrm-glass .nxcrm-nav a{transition:none}.nxcrm *{scroll-behavior:auto!important}}
/* Layout components authored for the 0.2 workspace, not inherited from the older pilot. */
.nxcrm.nxcrm-glass .nxcrm-logo-plate{display:flex;align-items:center;justify-content:flex-start;padding:13px 15px;background:white;border-radius:12px;min-height:65px;box-shadow:0 4px 20px rgba(0,0,0,.11)}
.nxcrm.nxcrm-glass .nxcrm-logo-plate img{width:143px;max-width:100%;max-height:49px;object-fit:contain}
.nxcrm.nxcrm-glass .nxcrm-hero{display:flex;align-items:center;justify-content:space-between;gap:26px;position:relative;overflow:hidden;border-radius:20px;min-height:218px;padding:29px 34px;margin-bottom:3px;}
.nxcrm.nxcrm-glass .nxcrm-hero::after{content:"";position:absolute;width:280px;height:280px;right:-90px;top:-105px;border:1px solid rgba(225,235,255,.22);border-radius:50%;pointer-events:none;box-shadow:0 0 0 55px rgba(255,255,255,.025)}
.nxcrm.nxcrm-glass .nxcrm-hero-copy{flex:1 1 0;max-width:700px;min-width:0;position:relative;z-index:1;}
.nxcrm.nxcrm-glass .nxcrm-hero-eyebrow{display:inline-flex;gap:8px;align-items:center;color:#c8dbff;letter-spacing:.15em;font-size:11px;font-weight:800;}
.nxcrm.nxcrm-glass .nxcrm-hero h2{font-size:clamp(25px,2.3vw,33px);font-weight:800;line-height:1.2;margin:14px 0 12px;color:white}
.nxcrm.nxcrm-glass .nxcrm-hero p{max-width:610px;line-height:1.6;margin:0;font-size:13px;color:#e6edff}
.nxcrm.nxcrm-glass .nxcrm-hero-side{position:relative;z-index:1;flex:0 0 150px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:16px;color:#d9e8ff}
.nxcrm.nxcrm-glass .nxcrm-hero-symbol .nxcrm-icon{width:60px;height:60px;stroke:#c8dcff;stroke-width:1.3}
.nxcrm.nxcrm-glass .nxcrm-hero-tag{font-size:10px;font-weight:800;line-height:1.4;text-align:center;display:flex;align-items:center;gap:7px;letter-spacing:.03em;color:#e6eeff;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:8px 10px;background:rgba(255,255,255,.08);white-space:nowrap}
.nxcrm.nxcrm-glass .nxcrm-hero-tag svg{width:16px;height:16px;flex:none}
.nxcrm.nxcrm-glass .nxcrm-kpi-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.nxcrm.nxcrm-glass .nxcrm-kpi-top>span:first-child{font-size:12px;line-height:1.4;color:#425a7b}
.nxcrm.nxcrm-glass .nxcrm-kpi-icon{flex:0 0 33px;width:33px;height:33px;background:#edf3fd;border-radius:10px;display:grid;place-items:center;color:#1b3c82}
.nxcrm.nxcrm-glass .nxcrm-kpi-icon svg{width:17px;height:17px}
.nxcrm.nxcrm-glass .nxcrm-module-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.nxcrm.nxcrm-glass .nxcrm-module-icon{color:#24447d;width:38px;height:38px;border-radius:11px;background:#edf3fc;display:grid;place-items:center;flex:0 0 38px}
.nxcrm.nxcrm-glass .nxcrm-module-icon svg{width:21px;height:21px}
.nxcrm.nxcrm-glass .nxcrm-connection{padding:5px 10px;border:1px solid #bfdad3;border-radius:999px;font-size:11px;color:#115b4e;background:#e8f7f1;font-weight:700}
.nxcrm.nxcrm-glass .nxcrm-connection.is-offline{color:#89491d;background:#fff3e5;border-color:#f1d4b2}
.nxcrm.nxcrm-glass .nxcrm-operating-mode{display:flex;align-items:flex-start;gap:14px}
.nxcrm.nxcrm-glass .nxcrm-card-eyebrow{font-size:11px;letter-spacing:.13em;color:#425e8a;font-weight:750}
.nxcrm.nxcrm-glass .nxcrm-counter{border:1px solid #d6e2f4;background:#f1f5fc;padding:6px 10px;border-radius:99px;color:#2b4573;font-size:12px;font-weight:650}
.nxcrm.nxcrm-glass .nxcrm-frame-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#445b78;font-size:12px}
.nxcrm.nxcrm-glass .nxcrm-frame-toolbar span{display:flex;gap:5px}
.nxcrm.nxcrm-glass .nxcrm-frame-toolbar i{display:block;width:8px;height:8px;border-radius:50%;background:#adc2df}
.nxcrm.nxcrm-glass .nxcrm-frame-toolbar i:nth-child(1){background:#e09d97}.nxcrm.nxcrm-glass .nxcrm-frame-toolbar i:nth-child(2){background:#e9c17a}
.nxcrm.nxcrm-glass .nxcrm-frame-toolbar em{font-style:normal;color:#5f7492}
.nxcrm.nxcrm-glass .nxcrm-nav-caption{font-size:10px;font-weight:750;letter-spacing:.12em;padding-left:13px}
.nxcrm.nxcrm-glass .nxcrm-status--success{background:#edf9f3;color:#1b6d4f;border-color:#b9dbc9}
.nxcrm.nxcrm-glass .nxcrm-status--danger{background:#fff0ed;color:#9a332a;border-color:#f1c2be}
.nxcrm.nxcrm-glass .nxcrm-status--pending{background:#fff6e8;color:#8d5410;border-color:#f5ddb1}
.nxcrm.nxcrm-glass .nxcrm-trendbar,.nxcrm.nxcrm-glass .nxcrm-bar i{background:linear-gradient(0deg,#1e469b,#6a91d5)}
.nxcrm.nxcrm-glass .nxcrm-auth-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}
.nxcrm.nxcrm-glass .nxcrm-signout{display:inline-flex;align-items:center;gap:7px;font-weight:650}
.nxcrm.nxcrm-glass .nxcrm-archived-preview{border:1px solid #c0d7f2}
@media(max-width:900px){.nxcrm.nxcrm-glass .nxcrm-hero-side{display:none}.nxcrm.nxcrm-glass .nxcrm-hero{padding:25px}}
@media(max-width:520px){.nxcrm.nxcrm-glass .nxcrm-hero{padding:24px 20px;min-height:0}.nxcrm.nxcrm-glass .nxcrm-hero h2{font-size:24px}.nxcrm.nxcrm-glass .nxcrm-hero p{font-size:12.5px}.nxcrm.nxcrm-glass .nxcrm-operating-mode{display:block}.nxcrm.nxcrm-glass .nxcrm-logo-plate{padding:8px 12px;min-height:52px;max-width:165px}.nxcrm.nxcrm-glass .nxcrm-logo-plate img{max-height:36px}}
/* ContractDesk operations inside the existing employee shell. */
.nxcrm-main .nxcd-workspace{margin:0;max-width:none;min-width:0;padding:0;background:transparent;box-shadow:none}
.nxcrm-main .nxcd-detail-layout{grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:20px}
.nxcrm-main .nxcd-detail-layout>main,.nxcrm-main .nxcd-detail-layout>aside{min-width:0}
.nxcrm-main .nxcd-ws-section{overflow-wrap:anywhere}
.nxcrm-main .nxcd-ws-section form{margin-top:16px}
.nxcrm-main .nxcd-ws-section button{white-space:normal}
.nxcrm-main .nxcd-ws-table-wrap{overflow:auto}
@media(max-width:1200px){.nxcrm-main .nxcd-detail-layout{grid-template-columns:minmax(0,1fr)}}
