/* ===== Design system atual ===== */
/* NEXO Web v42 — design system approved from visual mockups */
:root{
  --nx42-sidebar:#014848;
  --nx42-sidebar-deep:#013637;
  --nx42-sidebar-active:#0a7f79;
  --nx42-teal:#078c83;
  --nx42-teal-dark:#00645e;
  --nx42-mint:#e9f8f5;
  --nx42-mint-2:#f3fbf9;
  --nx42-bg:#f5f8f8;
  --nx42-card:#ffffff;
  --nx42-ink:#07162f;
  --nx42-text:#33445f;
  --nx42-muted:#718099;
  --nx42-line:#e2e9ed;
  --nx42-line-strong:#d2dde3;
  --nx42-red:#f0515e;
  --nx42-red-soft:#fff0f2;
  --nx42-blue:#2785e6;
  --nx42-blue-soft:#eaf5ff;
  --nx42-orange:#e59a17;
  --nx42-orange-soft:#fff5e3;
  --nx42-good:#079b72;
  --nx42-shadow:0 8px 26px rgba(5,35,48,.055);
  --nx42-shadow-float:0 18px 50px rgba(1,72,72,.13);
  --nx42-radius:14px;
}
html,body{background:var(--nx42-bg);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--nx42-ink)}
button,input,select,textarea{font:inherit}

/* Brand */
.nx42-side-brand,.nx42-selector-wordmark,.nx42-login-topbrand,.nx42-login-cardbrand,.nx42-rail-logo{display:flex;align-items:center;gap:10px}
.nx42-side-brand img,.nx42-selector-wordmark img,.nx42-login-topbrand img,.nx42-login-cardbrand img,.nx42-rail-logo img{width:42px;height:42px;object-fit:contain;image-rendering:auto}
.nx42-side-brand span,.nx42-selector-wordmark span,.nx42-login-topbrand span,.nx42-login-cardbrand span,.nx42-rail-logo span{display:flex;flex-direction:column;line-height:1}
.nx42-side-brand strong,.nx42-selector-wordmark strong,.nx42-login-topbrand strong,.nx42-login-cardbrand strong,.nx42-rail-logo strong{font-size:22px;font-weight:900;letter-spacing:-.04em}
.nx42-side-brand small,.nx42-selector-wordmark small,.nx42-login-topbrand small,.nx42-login-cardbrand small,.nx42-rail-logo small{font-size:9px;font-weight:800;letter-spacing:.16em;margin-top:5px}

/* LOGIN */
.nx42-login-page{min-height:100svh;position:relative;overflow:hidden;background:linear-gradient(120deg,#f8fdfc 0%,#edf9f6 48%,#f5fbfa 100%);display:flex;align-items:center;padding:88px clamp(36px,6vw,100px) 72px}
.nx42-login-page:before{content:"";position:absolute;inset:-18%;background:radial-gradient(circle at 38% 28%,rgba(60,213,183,.14),transparent 27%),radial-gradient(circle at 75% 64%,rgba(29,183,160,.08),transparent 35%);pointer-events:none}
.nx42-login-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.nx42-login-bg img{position:absolute;right:-3vw;top:50%;transform:translateY(-50%);width:min(70vw,1080px);max-width:none;filter:saturate(.95) contrast(.98);opacity:.98;border-radius:0}
.nx42-login-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,253,251,.95) 0%,rgba(246,253,251,.48) 32%,rgba(246,253,251,0) 58%)}
.nx42-login-topbrand{position:absolute;top:32px;left:clamp(36px,6vw,100px);z-index:3;color:#133252}
.nx42-login-card{position:relative;z-index:4;width:min(510px,42vw);background:rgba(255,255,255,.96);border:1px solid rgba(221,233,236,.9);border-radius:18px;box-shadow:var(--nx42-shadow-float);padding:34px 38px 30px;backdrop-filter:blur(16px)}
.nx42-login-cardbrand{color:#133252;margin-bottom:28px}
.nx42-login-copy h1{margin:0;color:var(--nx42-ink);font-size:44px;line-height:1.04;letter-spacing:-.055em;font-weight:900}
.nx42-login-copy p{margin:12px 0 28px;color:var(--nx42-muted);font-size:15px;line-height:1.55;max-width:420px}
.nx42-login-form{display:grid;gap:15px}
.nx42-login-form>label>span{display:block;font-size:12px;font-weight:800;color:#15233c;margin:0 0 7px}
.nx42-input{height:48px;border:1px solid #cdd9e1;background:#fff;border-radius:8px;display:flex;align-items:center;padding:0 12px;gap:10px;transition:.18s}
.nx42-input:focus-within{border-color:#6db8b2;box-shadow:0 0 0 3px rgba(7,140,131,.08)}
.nx42-input svg{width:18px;height:18px;color:#7890af;flex:0 0 auto}
.nx42-input input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:#18253d;font-size:13px}
.nx42-input button{border:0;background:transparent;color:#7890af;padding:5px;display:grid;place-items:center;cursor:pointer}
.nx42-login-links{display:flex;align-items:center;justify-content:space-between;margin-top:-4px}
.nx42-login-links button{border:0;background:transparent;padding:0;color:var(--nx42-teal-dark);font-size:11px;font-weight:800;cursor:pointer}
.nx42-primary,.nx42-secondary{height:50px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}
.nx42-primary{background:linear-gradient(135deg,#07998d,#087c75);color:#fff;box-shadow:0 8px 20px rgba(7,140,131,.14)}
.nx42-primary:hover{background:var(--nx42-teal-dark)}
.nx42-secondary{background:#f5fbfa;color:#08786f;border-color:#d5e9e5}
.nx42-secondary svg{width:18px;height:18px}
.nx42-login-help{margin-top:18px;padding-top:16px;border-top:1px solid var(--nx42-line);text-align:center;color:#8b96a7;font-size:11px}
.nx42-login-help>span{position:relative;top:-25px;background:#fff;padding:0 10px}
.nx42-login-help button{margin:-10px auto 0;border:0;background:transparent;color:#0a746e;display:flex;gap:10px;align-items:center;text-align:left;cursor:pointer}
.nx42-login-help button svg{width:22px;height:22px}
.nx42-login-help button span{display:flex;flex-direction:column}
.nx42-login-help strong{font-size:13px}.nx42-login-help small{font-size:10px;color:#8090a5;margin-top:2px}
.nx42-login-footer{position:absolute;z-index:3;left:clamp(36px,4vw,70px);right:clamp(36px,4vw,70px);bottom:24px;display:flex;justify-content:space-between;align-items:flex-end;color:#64758d;font-size:10px}
.nx42-login-footer>span{display:flex;flex-direction:column;border-left:2px solid #119b8c;padding-left:12px}.nx42-login-footer strong{color:#344761}.nx42-login-footer small{margin-top:3px}
.nx42-login-footer nav{display:flex;gap:24px;align-items:center}.nx42-login-footer nav i{height:22px;width:1px;background:#9eacc0}

/* COMPANY SELECTOR */
.nx42-selector-page{min-height:100svh;display:flex;background:#f9fbfb;color:var(--nx42-ink)}
.nx42-selector-rail{position:fixed;z-index:20;left:0;top:0;bottom:0;width:70px;background:linear-gradient(180deg,#014848 0%,#003f40 100%);color:#fff;display:flex;flex-direction:column;align-items:flex-start;padding:14px 11px 12px;transition:width .22s ease;box-shadow:6px 0 24px rgba(1,72,72,.06);overflow:hidden}
.nx42-selector-rail:hover{width:220px}
.nx42-rail-logo{height:52px;width:48px;margin:0 0 10px;white-space:nowrap;display:flex;align-items:center;gap:13px;overflow:visible}.nx42-rail-logo img{width:42px;height:42px;flex:0 0 42px;object-fit:contain;filter:brightness(1.18) saturate(1.08)}.nx42-rail-logo span{opacity:0;transform:translateX(-5px);transition:.15s}.nx42-selector-rail:hover .nx42-rail-logo{width:194px}.nx42-selector-rail:hover .nx42-rail-logo span{opacity:1;transform:none}.nx42-rail-logo strong{color:#fff;font-size:18px}.nx42-rail-logo small{color:rgba(255,255,255,.75);font-size:8px}
.nx42-selector-rail nav{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:4px;width:48px}.nx42-rail-nav{width:48px;height:48px;border:0;background:transparent;border-radius:11px;color:rgba(255,255,255,.78);display:flex;align-items:center;justify-content:center;gap:14px;padding:0;cursor:pointer;white-space:nowrap;overflow:hidden;transition:width .18s ease,background .15s ease,color .15s ease}.nx42-rail-nav svg{width:20px;height:20px;flex:0 0 auto}.nx42-rail-nav span{display:none;font-size:13px;font-weight:700}.nx42-selector-rail:hover nav{width:194px}.nx42-selector-rail:hover .nx42-rail-nav{width:194px;justify-content:flex-start;padding:0 14px}.nx42-selector-rail:hover .nx42-rail-nav span{display:inline}.nx42-rail-nav:hover,.nx42-rail-nav.active{background:#087b76;color:#fff}
.nx42-rail-profile{margin-top:auto;width:48px;height:50px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05);border-radius:11px;color:#fff;display:flex;align-items:center;gap:9px;padding:4px;overflow:hidden;cursor:pointer;white-space:nowrap;transition:width .18s ease}.nx42-rail-profile .avatar{width:40px;height:40px;border-radius:50%;background:#e8f8f5;color:#087c74;font-weight:900;display:grid;place-items:center;flex:0 0 auto}.nx42-rail-profile>span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;opacity:0;transition:.15s}.nx42-selector-rail:hover .nx42-rail-profile{width:194px}.nx42-selector-rail:hover .nx42-rail-profile>span:nth-child(2),.nx42-selector-rail:hover .nx42-rail-profile>b{opacity:1}.nx42-rail-profile strong{font-size:11px}.nx42-rail-profile small{font-size:8px;color:rgba(255,255,255,.68);margin-top:3px}.nx42-rail-profile>b{margin-left:auto;opacity:0}
.nx42-rail-logout{width:48px;height:44px;margin-top:8px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035);color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0;cursor:pointer;overflow:hidden;transition:width .18s ease,background .15s ease}.nx42-rail-logout:hover{background:rgba(255,255,255,.09)}.nx42-rail-logout svg{width:19px;height:19px;flex:0 0 19px;overflow:visible}.nx42-rail-logout span{opacity:0;transition:.15s}.nx42-selector-rail:hover .nx42-rail-logout{width:194px;justify-content:flex-start;padding:0 14px}.nx42-selector-rail:hover .nx42-rail-logout span{opacity:1}
.nx42-selector-workspace{margin-left:70px;min-height:100svh;flex:1;display:flex;flex-direction:column}.nx42-selector-top{height:78px;background:#fff;border-bottom:1px solid var(--nx42-line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.nx42-selector-wordmark{color:#14304f;display:flex;align-items:center;gap:12px}.nx42-selector-wordmark img{width:40px;height:40px;object-fit:contain}.nx42-selector-wordmark strong{font-size:20px}.nx42-selector-wordmark small{font-size:8px}
.nx42-top-status{display:flex;align-items:center;gap:16px}.nx42-sync-chip{height:46px;padding:0 14px;border-radius:11px;background:#e9f9f5;color:#0c6d68;display:flex;align-items:center;gap:10px}.nx42-sync-chip>i{width:12px;height:12px;border-radius:50%;background:#0eb36f;box-shadow:0 0 0 4px rgba(14,179,111,.08)}.nx42-sync-chip span{display:flex;flex-direction:column}.nx42-sync-chip strong{font-size:11px}.nx42-sync-chip small{font-size:9px;color:#71849a;margin-top:2px}.nx42-icon-btn{width:42px;height:42px;border:1px solid var(--nx42-line);background:#fff;border-radius:10px;display:grid;place-items:center;color:#0e2a4f;position:relative;cursor:pointer}.nx42-icon-btn svg{width:20px;height:20px}.nx42-icon-btn b{position:absolute;right:5px;top:4px;min-width:15px;height:15px;border-radius:8px;background:#ef4057;color:#fff;font-size:8px;display:grid;place-items:center}.nx42-icon-btn b:empty{display:none}
.nx42-selector-content{padding:46px 44px 20px;display:grid;grid-template-columns:minmax(0,1fr) 385px;gap:38px;flex:1}.nx42-selector-copy>span{font-size:10px;font-weight:900;letter-spacing:.18em;color:var(--nx42-teal)}.nx42-selector-copy h1{font-size:48px;line-height:1;letter-spacing:-.055em;margin:13px 0 8px}.nx42-selector-copy h2{font-size:24px;line-height:1.15;font-weight:500;letter-spacing:-.025em;color:#52617a;margin:0}.nx42-selector-copy p{color:#73839b;font-size:13px;margin-top:18px}
.nx42-selector-controls{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;margin:44px 0 48px}.nx42-selector-controls>label{height:56px;border:1px solid var(--nx42-line-strong);border-radius:10px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 16px}.nx42-selector-controls>label svg{width:20px;height:20px;color:#0b315b}.nx42-selector-controls input{border:0;outline:0;background:transparent;width:100%;font-size:13px;color:#263a58}.nx42-sort{display:flex;align-items:center;gap:14px;color:#73809a;font-size:12px}.nx42-sort select{height:52px;border:1px solid var(--nx42-line-strong);border-radius:10px;background:#fff;padding:0 38px 0 16px;color:#1e3250;outline:0}
.nx42-company-section h3{font-size:16px;color:#435270;margin:0 0 18px}.nx42-company-grid{display:grid;grid-template-columns:repeat(auto-fit,254px);gap:14px;align-items:start}.nx42-company-card{width:254px;min-height:226px;border:1px solid #e1e8ec;background:#fff;border-radius:12px;padding:16px 15px;text-align:left;box-shadow:0 5px 16px rgba(12,43,55,.035);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;gap:0 8px;cursor:pointer;transition:.18s;color:inherit}.nx42-company-card:hover{transform:translateY(-2px);border-color:#8acdc5;box-shadow:0 10px 24px rgba(5,66,70,.08)}.nx42-company-add{border-style:dashed;background:linear-gradient(180deg,#fbfefd,#f6fbfa);align-content:center;grid-template-rows:auto auto;min-height:226px}.nx42-company-add:hover{background:#f1faf8}.nx42-company-add-icon{grid-column:1/-1;width:62px;height:62px;border-radius:18px;background:#e3f7f2;color:#07877b;display:grid;place-items:center;font-size:35px;font-weight:300;margin-bottom:15px}.nx42-company-add-copy{display:flex;flex-direction:column;align-self:end}.nx42-company-add-copy strong{font-size:15px;color:#0a1730}.nx42-company-add-copy small{margin-top:6px;font-size:10px;line-height:1.4;color:#74839c;max-width:170px}.nx42-empty-note{margin-top:14px;color:#7a889c;font-size:10px}.nx42-company-card.hidden{display:none}.nx42-company-logo{width:78px;height:78px;border:1px solid #edf1f2;border-radius:11px;object-fit:contain;background:#fbfcfc;grid-column:1/-1;margin-bottom:13px}.nx42-company-copy{display:flex;flex-direction:column;min-width:0}.nx42-company-copy>strong{font-size:15px;line-height:1.12;letter-spacing:-.025em;color:#0a1730}.nx42-company-copy>small{font-size:10px;color:#74839c;margin-top:5px}.nx42-role{display:inline-flex;align-items:center;gap:6px;width:max-content;margin-top:14px;padding:7px 10px;border-radius:999px;background:#eaf8f5;color:#08796f;font-size:10px;font-style:normal;font-weight:800}.nx42-role svg{width:14px;height:14px}.nx42-role.finance{background:#edf6ff;color:#2876c8}.nx42-company-arrow{align-self:end;font-size:26px;color:#04244b}.nx42-pending{margin-top:18px;color:#6f7f96;font-size:11px}
.nx42-selector-tools{display:flex;flex-direction:column;gap:16px;align-self:start}.nx42-tool-card{border:1px solid #e4eaed;background:#fff;border-radius:12px;min-height:126px;padding:20px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;text-align:left;box-shadow:0 5px 16px rgba(13,40,52,.025);cursor:pointer;color:inherit}.nx42-tool-card.primary{display:block;min-height:150px;padding:20px;background:#fff}.nx42-tool-primarybar{height:76px;border-radius:10px;background:linear-gradient(135deg,#07998d,#087a74);color:#fff;display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;padding:0 14px}.nx42-tool-primarybar .nx42-tool-icon{background:rgba(255,255,255,.10);color:#fff}.nx42-tool-primarybar strong{color:#fff;font-size:14px}.nx42-tool-primarybar b{font-size:26px;color:#fff;font-weight:500}.nx42-tool-card.primary>small{display:block;margin:12px 2px 0;color:#708098;font-size:11px;line-height:1.35}.nx42-tool-icon{width:46px;height:46px;border-radius:14px;background:#e9f8f5;color:#08766f;display:grid;place-items:center;font-size:28px;line-height:1}.nx42-tool-icon svg{width:22px;height:22px}.nx42-tool-card>span:nth-child(2){display:flex;flex-direction:column}.nx42-tool-card strong{font-size:14px;color:#09182f;letter-spacing:-.015em}.nx42-tool-card small{font-size:11px;color:#708098;line-height:1.45;margin-top:7px}.nx42-tool-card em{font-style:normal;color:#087d73;font-size:10px;font-weight:800;margin-top:12px}.nx42-tool-card>b{font-size:26px;color:#0e2850}.nx42-selector-tools #selector-help{min-height:168px}.nx42-selector-promo{min-height:168px;border-radius:12px;background:#e9faf6 url('/assets/nexo-selector-illustration.webp?v=49') center/cover no-repeat;box-shadow:0 5px 16px rgba(13,40,52,.02)}.nx42-selector-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding:18px 44px 24px;color:#7b899f;font-size:9px}.nx42-selector-footer>span:first-child{display:flex;align-items:center;gap:10px}.nx42-selector-footer strong{color:#1c3658}.nx42-selector-footer i{width:1px;height:18px;background:#cbd5dc}

/* INTERNAL SHELL */
.nx42-app-shell{display:block;min-height:100svh;background:var(--nx42-bg)}
.nx42-sidebar{position:fixed!important;z-index:50!important;left:0!important;top:0!important;bottom:0!important;width:70px!important;height:100svh!important;background:linear-gradient(180deg,#014848 0%,#003f40 100%)!important;color:#fff!important;padding:14px 11px 12px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;border-right:0!important;box-shadow:6px 0 24px rgba(1,72,72,.06)!important;overflow:hidden!important;transition:width .22s ease!important}.nx42-sidebar:hover{width:220px!important}
.nx42-side-brand{height:52px;width:48px;margin:0 0 10px;padding:0!important;color:#fff;white-space:nowrap;display:flex;align-items:center;gap:13px;overflow:visible}.nx42-side-brand img{width:42px;height:42px;flex:0 0 42px;object-fit:contain;filter:brightness(1.18) saturate(1.08)}.nx42-side-brand>span{opacity:0;transform:translateX(-5px);transition:opacity .15s ease,transform .15s ease}.nx42-sidebar:hover .nx42-side-brand{width:194px}.nx42-sidebar:hover .nx42-side-brand>span{opacity:1;transform:none}.nx42-side-brand strong{color:#fff;font-size:18px}.nx42-side-brand small{color:rgba(255,255,255,.75);font-size:8px}
.nx42-nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;width:48px!important;margin:4px 0 0!important;padding:0!important}.nx42-nav .nav-item{width:48px!important;height:48px!important;min-height:48px!important;border-radius:11px!important;padding:0!important;background:transparent!important;color:rgba(255,255,255,.78)!important;border:0!important;font-size:13px!important;font-weight:700!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;white-space:nowrap!important;overflow:hidden!important;transition:width .18s ease,background .15s ease,color .15s ease!important}.nx42-nav .nav-item svg{width:20px!important;height:20px!important;flex:0 0 20px!important}.nx42-nav .nav-item>span:not(.nav-badge){display:none}.nx42-nav .nav-badge{display:none;margin-left:auto;background:rgba(255,255,255,.12)!important;color:#fff!important}.nx42-sidebar:hover .nx42-nav{width:194px!important}.nx42-sidebar:hover .nx42-nav .nav-item{width:194px!important;justify-content:flex-start!important;padding:0 14px!important}.nx42-sidebar:hover .nx42-nav .nav-item>span:not(.nav-badge),.nx42-sidebar:hover .nx42-nav .nav-badge{display:inline-flex}.nx42-nav .nav-item:hover,.nx42-nav .nav-item.active{background:#087b76!important;color:#fff!important;box-shadow:none!important}
.nx42-side-footer{margin-top:auto;width:48px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08)}.nx42-profile-entry{width:48px;height:50px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05);border-radius:11px;color:#fff;padding:4px;display:flex;gap:9px;align-items:center;text-align:left;cursor:pointer;overflow:hidden;white-space:nowrap;transition:width .18s ease}.nx42-profile-entry:hover,.nx42-profile-entry.active{background:rgba(255,255,255,.1);border-color:rgba(80,220,199,.35)}.nx42-profile-entry .avatar{width:40px;height:40px;border-radius:50%;background:#e8f8f5;color:#087c74;display:grid;place-items:center;font-size:12px;font-weight:900;flex:0 0 40px}.nx42-profile-entry>span:nth-child(2){display:flex;flex-direction:column;min-width:0;opacity:0;transition:opacity .15s ease}.nx42-profile-entry strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx42-profile-entry small{font-size:8px;color:rgba(255,255,255,.68);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.nx42-profile-entry>b{font-size:20px;margin-left:auto;opacity:0}.nx42-logout{width:48px!important;margin-top:8px!important;height:44px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.035)!important;color:#fff!important;justify-content:center!important;padding:0!important;font-size:11px!important;gap:12px!important;overflow:hidden!important;transition:width .18s ease,background .15s ease!important}.nx42-logout svg{width:19px!important;height:19px!important;flex:0 0 19px!important}.nx42-logout>span{display:none;white-space:nowrap}.nx42-sidebar:hover .nx42-side-footer{width:194px}.nx42-sidebar:hover .nx42-profile-entry{width:194px}.nx42-sidebar:hover .nx42-profile-entry>span:nth-child(2),.nx42-sidebar:hover .nx42-profile-entry>b{opacity:1}.nx42-sidebar:hover .nx42-logout{width:194px!important;justify-content:flex-start!important;padding:0 14px!important}.nx42-sidebar:hover .nx42-logout>span{display:inline}.nx42-logout:hover{background:rgba(255,255,255,.09)!important}
.nx42-workspace{min-width:0;margin-left:70px;background:var(--nx42-bg)}.nx42-topbar{height:68px!important;background:#fff!important;border-bottom:1px solid var(--nx42-line)!important;box-shadow:none!important;padding:0 28px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.nx42-company-switch{height:42px!important;border:1px solid var(--nx42-line-strong)!important;background:#fff!important;border-radius:9px!important;min-width:250px!important;box-shadow:none!important}.nx42-company-switch strong{font-size:11px!important}.nx42-company-switch small{font-size:8px!important;color:#718099!important}.nx42-company-switch svg{width:15px!important;height:15px!important}.nx42-top-actions{display:flex;align-items:center;gap:12px}.nx42-top-sync{display:flex;align-items:center;gap:7px;color:#6e7e94;font-size:10px}.nx42-top-sync>i{width:8px;height:8px;border-radius:50%;background:#0db571}.nx42-main{padding:22px 28px 18px!important;background:var(--nx42-bg)!important;max-width:none!important}

/* Common v42 cards/headings */
.nx42-card{background:#fff;border:1px solid var(--nx42-line);border-radius:12px;box-shadow:0 5px 18px rgba(17,45,57,.035);padding:15px;min-width:0}
.nx42-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:0 0 14px}.nx42-page-head h1{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:42px;line-height:.98;letter-spacing:-.055em;margin:0;color:var(--nx42-ink);font-weight:900}.nx42-page-head p{font-size:11px;color:#6f7d93;margin:7px 0 0}.nx42-head-callout{border:0;background:linear-gradient(135deg,#ebfaf6,#dff7f1);border-radius:10px;min-width:390px;height:60px;padding:0 20px;display:flex;align-items:center;gap:16px;color:#08776f;text-align:left;cursor:pointer}.nx42-head-callout svg{width:26px;height:26px}.nx42-head-callout strong{font-size:11px;line-height:1.35}.nx42-head-callout span{margin-left:auto;font-size:24px}

/* OVERVIEW */
.nx42-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.nx42-kpi{min-height:102px;border:1px solid var(--nx42-line);border-radius:11px;background:#fff;display:grid;grid-template-columns:44px 1fr auto;align-items:start;gap:11px;padding:13px;text-align:left;color:inherit;box-shadow:0 4px 14px rgba(20,45,55,.028);cursor:pointer}.nx42-kpi.featured{border:1.5px solid #0ca990;box-shadow:0 6px 18px rgba(9,155,140,.06)}.nx42-kpi-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center}.nx42-kpi-icon svg{width:21px;height:21px}.nx42-kpi-icon.green{background:#e4f8f3;color:#078c83}.nx42-kpi-icon.red{background:#ffebee;color:#ef4050}.nx42-kpi-icon.blue{background:#e5f4ff;color:#247fda}.nx42-kpi-icon.orange{background:#fff1dc;color:#df9111}.nx42-kpi>span:nth-child(2){display:flex;flex-direction:column}.nx42-kpi small{font-size:9px;font-weight:700;color:#425470}.nx42-kpi strong{font-size:20px;line-height:1.05;letter-spacing:-.035em;margin:7px 0 6px}.nx42-kpi em{font-style:normal;font-size:8px;color:#718097}.nx42-kpi em.good{color:#0b9c70}.nx42-kpi em.bad{color:#e63f4f}.nx42-kpi em i{font-style:normal;color:#7a889c;margin-left:4px}.nx42-kpi>b{font-size:22px;color:#0d345c;font-weight:500}
.nx42-overview-middle{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(310px,.9fr);gap:12px;margin-bottom:12px}.nx42-overview-bottom{display:grid;grid-template-columns:1.35fr .95fr 1.05fr;gap:12px}.nx42-overview .dashboard-card-head,.nx42-panel-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.nx42-overview .dashboard-card-head h3,.nx42-panel-head h3{font-size:15px;letter-spacing:-.025em;margin:0;color:#0a1830}.nx42-overview .dashboard-card-head p,.nx42-panel-head p{font-size:9px;color:#728097;margin:3px 0 0}.nx42-overview .dashboard-title-icon,.nx42-panel-icon{width:40px;height:40px;border-radius:11px;background:#e8f8f5;color:#07877f;display:grid;place-items:center;flex:0 0 auto}.nx42-overview .dashboard-title-icon svg,.nx42-panel-icon svg{width:20px;height:20px}.nx42-overview .period-select{margin-left:auto!important;height:38px!important;border:1px solid var(--nx42-line-strong)!important;border-radius:9px!important;background:#fff!important;font-size:9px!important;box-shadow:none!important}.nx42-overview .chart-legend{justify-content:flex-end!important;font-size:9px!important;margin:-4px 4px 4px!important}.nx42-overview .finance-chart-v2{height:205px!important}.nx42-overview .finance-evolution{padding:0!important;border:0!important;box-shadow:none!important}.nx42-finance-chart{padding:16px 15px 12px}.nx42-import{padding:15px}.nx42-import .pdv-dropzone{min-height:130px!important;border:1.5px dashed #8ecdc5!important;border-radius:9px!important;background:#fff!important}.nx42-import .accepted-formats{font-size:9px!important;line-height:1.4!important;color:#76849a!important}.nx42-overview .compact-panel-head{display:grid!important;grid-template-columns:40px 1fr auto!important;align-items:center!important;gap:9px!important;margin:0 0 8px!important}.nx42-overview .compact-panel-head h3{font-size:14px!important;margin:0!important;color:#0b1830!important}.nx42-overview .compact-panel-head p{font-size:8px!important;color:#77859a!important;margin:2px 0 0!important}.nx42-overview .panel-link{font-size:9px!important;color:#07877d!important;font-weight:800!important}.nx42-overview .recent-table-v2{font-size:8px!important}.nx42-overview .recent-head,.nx42-overview .recent-row{grid-template-columns:1.6fr .65fr .7fr .6fr .7fr!important;padding:7px 6px!important}.nx42-overview .stock-row-v2{min-height:40px!important;padding:4px 0!important}.nx42-overview .stock-row-icon{width:34px!important;height:34px!important;border-radius:8px!important}.nx42-panel-head.analytics{justify-content:space-between}
.nx42-operational-list{display:flex;flex-direction:column;gap:8px}.nx42-operational-list button{border:1px solid #e5ebee;background:#fff;border-radius:9px;min-height:66px;padding:8px 10px;display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;text-align:left;cursor:pointer;color:inherit}.nx42-op-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center}.nx42-op-icon svg{width:19px;height:19px}.nx42-op-icon.green{background:#e6f8f3;color:#078c83}.nx42-op-icon.blue{background:#e8f4ff;color:#2b7dd0}.nx42-op-icon.orange{background:#fff2df;color:#df9111}.nx42-operational-list button>span:nth-child(2){display:flex;flex-direction:column}.nx42-operational-list small{font-size:8px;color:#66778f}.nx42-operational-list strong{font-size:10px;color:#0c1d38;margin:2px 0}.nx42-operational-list em{font-size:8px;color:#7a8798;font-style:normal}.nx42-operational-list b{font-size:20px;color:#0d3157}

/* ANALYTICS */
.nx42-eyebrow{display:block;color:#087d74;font-size:9px;font-weight:900;letter-spacing:.16em;margin-bottom:10px}.nx42-page-head.analytics{align-items:end}.nx42-mode-switch{display:flex;border:1px solid #dbe3e7;border-radius:9px;padding:3px;background:#fff}.nx42-mode-switch button{height:34px;padding:0 22px;border:0;border-radius:7px;background:transparent;color:#68788f;font-size:10px;font-weight:800;cursor:pointer}.nx42-mode-switch button.active{background:#087e76;color:#fff}
.nx42-analytics-filter{background:#fff;border:1px solid var(--nx42-line);border-radius:11px;padding:12px;display:grid;grid-template-columns:1.55fr .75fr .75fr .75fr .75fr .85fr auto;gap:10px;align-items:end;margin-bottom:14px;box-shadow:0 4px 14px rgba(14,44,55,.025)}.nx42-filter-presets{display:flex;align-items:end;gap:6px;flex-wrap:wrap}.nx42-filter-presets>span{width:100%;font-size:8px;font-weight:800;color:#65758d;margin:0 0 2px}.nx42-filter-presets button{height:34px;padding:0 13px;border:1px solid #dfe6e9;border-radius:17px;background:#f9fbfb;color:#53647c;font-size:9px;font-weight:700;cursor:pointer}.nx42-filter-presets button.active{background:#078c83;color:#fff;border-color:#078c83}.nx42-analytics-filter>label{display:flex;flex-direction:column;gap:5px}.nx42-analytics-filter label>span{font-size:8px;color:#64758d;font-weight:800}.nx42-analytics-filter input,.nx42-analytics-filter select{height:36px;border:1px solid #dce4e8;background:#fff;border-radius:7px;color:#17324f;padding:0 9px;font-size:9px;outline:0}.nx42-apply{height:36px;border:0;border-radius:7px;background:#078c83;color:#fff;padding:0 24px;font-size:10px;font-weight:800;cursor:pointer}
.nx42-analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.nx42-analytics-kpis .analytics-kpi{min-height:126px!important;background:#fff!important;border:1px solid var(--nx42-line)!important;border-radius:11px!important;box-shadow:0 4px 14px rgba(15,44,56,.025)!important;padding:16px!important;display:grid!important;grid-template-columns:48px 1fr!important;gap:12px!important}.nx42-analytics-kpis .analytics-kpi-icon{width:48px!important;height:48px!important;border-radius:13px!important}.nx42-analytics-kpis .analytics-kpi-copy span{font-size:10px!important}.nx42-analytics-kpis .analytics-kpi-copy strong{font-size:22px!important}.nx42-analytics-kpis .analytics-kpi-copy small{font-size:9px!important}.nx42-analytics-kpis .analytics-kpi-copy em{font-size:9px!important;margin-top:6px!important}
.nx42-analytics-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,.85fr);gap:14px;margin-bottom:14px}.nx42-analytics-chart,.nx42-expense-categories{min-height:300px}.nx42-chart-tools{display:flex;align-items:center;gap:11px;font-size:9px;color:#6d7b91}.nx42-chart-tools span{display:flex;align-items:center;gap:5px}.nx42-chart-tools i{width:8px;height:8px;border-radius:50%}.nx42-chart-tools i.sales{background:#0ca88d}.nx42-chart-tools i.expenses{background:#f06472}.nx42-chart-tools select{height:32px;border:1px solid #dfe5e8;border-radius:7px;background:#fff;padding:0 25px 0 10px;color:#334a66;font-size:9px}.nx42-bar-chart{height:230px;position:relative;padding:12px 8px 24px 66px}.nx42-yaxis{position:absolute;left:0;top:12px;bottom:24px;width:58px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding-right:8px;color:#72829a;font-size:8px}.nx42-bar-grid{position:absolute;left:66px;right:8px;top:12px;bottom:24px;display:flex;flex-direction:column;justify-content:space-between}.nx42-bar-grid i{height:1px;background:#e9eef0}.nx42-bars{position:absolute;left:66px;right:8px;top:12px;bottom:0;display:flex;justify-content:space-around;gap:7px}.nx42-bar-group{flex:1;min-width:18px;max-width:68px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.nx42-bar-pair{height:194px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}.nx42-bar-pair b{width:min(42%,20px);min-height:0;border-radius:3px 3px 0 0}.nx42-bar-pair b.sales{background:linear-gradient(180deg,#16b69b,#0a9b83)}.nx42-bar-pair b.expenses{background:linear-gradient(180deg,#ff7581,#f05b69)}.nx42-bar-group>span{height:20px;font-size:7px;color:#67788f;display:flex;align-items:end;text-align:center;white-space:nowrap}
.nx42-category-list{display:flex;flex-direction:column;gap:4px}.nx42-category-list>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto 46px 120px;align-items:center;gap:8px;min-height:36px;border-bottom:1px solid #edf1f2;font-size:9px}.nx42-category-list>div:last-child{border-bottom:0}.nx42-cat-icon{width:26px;height:26px;border-radius:8px;background:#eef8f6;color:#088179;display:grid;place-items:center}.nx42-cat-icon svg{width:14px;height:14px}.nx42-category-list strong{font-size:9px;color:#263b58}.nx42-category-list b{font-size:9px;color:#213b5b}.nx42-category-list em{font-size:9px;color:#405774;font-style:normal;text-align:right}.nx42-category-list i{height:7px;border-radius:5px;background:#edf1f2;overflow:hidden}.nx42-category-list u{display:block;height:100%;background:#0ca58d;border-radius:5px;text-decoration:none}.nx42-text-link{border:0;background:transparent;color:#07877d;font-size:9px;font-weight:800;cursor:pointer}
.nx42-analytics-bottom{display:grid;grid-template-columns:1.05fr 1fr 1.35fr;gap:14px}.nx42-purchase-card,.nx42-products-card,.nx42-detail-card{min-height:260px}.nx42-purchase-card .analytics-purchase-head{display:block!important}.nx42-purchase-card .purchase-controls{display:none!important}.nx42-purchase-card .purchase-explain{font-size:8px!important}.nx42-purchase-card .purchase-summary{font-size:8px!important}.nx42-purchase-card .purchase-empty{min-height:85px!important;padding:20px!important}.nx42-products-card .analytics-product-row{padding:6px 0!important}.nx42-products-card .analytics-product-copy strong{font-size:9px!important}.nx42-products-card .analytics-product-copy small{font-size:7px!important}.nx42-products-card .analytics-product-value{font-size:8px!important}.nx42-detail-card .analytics-table{font-size:8px!important}.nx42-detail-card .analytics-table th,.nx42-detail-card .analytics-table td{padding:7px 6px!important}.nx42-analytics-footnote{margin:9px 2px 0;color:#8794a4;font-size:8px}.nx42-dre-card{padding:0!important;overflow:hidden}.nx42-dre-card .dre-table-wrap{max-height:590px;overflow:auto}.nx42-dre-card .dre-table{min-width:1320px}.nx42-dre-card .dre-table th:first-child{position:sticky;left:0;z-index:3}.nx42-dre-card .dre-table tbody th:first-child{background:inherit}

/* PROFILE */
.nx42-account-ok{min-width:380px;background:linear-gradient(135deg,#e9faf6,#edfafa);border-radius:10px;padding:15px 20px;display:flex;align-items:center;gap:13px;color:#087a71}.nx42-account-ok svg{width:24px;height:24px}.nx42-account-ok span{display:flex;flex-direction:column}.nx42-account-ok strong{font-size:11px}.nx42-account-ok small{font-size:9px;color:#75859a;margin-top:3px}.nx42-profile-hero{background:#fff;border:1px solid var(--nx42-line);border-radius:12px;box-shadow:0 5px 18px rgba(14,42,54,.035);min-height:165px;display:grid;grid-template-columns:110px 1.1fr 1.5fr auto;align-items:center;gap:24px;padding:22px 26px;margin-bottom:16px}.nx42-profile-avatar{width:94px;height:94px;border-radius:50%;background:#e5f7f3;color:#087b72;display:grid;place-items:center;font-size:30px;font-weight:900}.nx42-profile-person{display:flex;flex-direction:column}.nx42-profile-person>strong{font-size:22px;letter-spacing:-.03em}.nx42-profile-person>span{font-size:12px;color:#748299;margin-top:6px}.nx42-profile-person>small{font-size:10px;color:#5f7189;margin-top:16px;display:flex;align-items:center;gap:7px}.nx42-profile-person svg{width:15px;height:15px}.nx42-profile-meta{border-left:1px solid #e3e8eb;padding-left:32px;display:grid;gap:14px}.nx42-profile-meta>div{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center}.nx42-profile-meta>div>svg{width:38px;height:38px;padding:9px;border-radius:10px;background:#f4f7f8;color:#1a4166}.nx42-profile-meta span{display:flex;flex-direction:column}.nx42-profile-meta small{font-size:9px;color:#718099}.nx42-profile-meta strong{font-size:12px;color:#13233d}.nx42-profile-meta em{font-size:9px;color:#7b899c;font-style:normal;margin-top:2px}.nx42-edit-profile{align-self:start;height:42px;border:1px solid #d8e1e6;background:#fff;border-radius:8px;padding:0 16px;display:flex;align-items:center;gap:8px;color:#183150;font-size:11px;font-weight:800}.nx42-edit-profile svg{width:16px;height:16px}
.nx42-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:20px}.nx42-profile-tabs{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid #dfe6e9;margin-bottom:18px}.nx42-profile-tabs button{height:54px;border:0;background:transparent;color:#69788f;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border-bottom:2px solid transparent}.nx42-profile-tabs button svg{width:18px;height:18px}.nx42-profile-tabs button.active{color:#087e74;border-bottom-color:#0b9d8e}.nx42-profile-form{background:#fff;border:1px solid var(--nx42-line);border-radius:12px;padding:20px;box-shadow:0 5px 18px rgba(14,42,54,.03);min-height:430px}.nx42-section-title{display:flex;gap:12px;align-items:center;margin-bottom:22px}.nx42-section-title>span{width:50px;height:50px;border-radius:12px;background:#e8f8f5;color:#087f76;display:grid;place-items:center}.nx42-section-title svg{width:23px;height:23px}.nx42-section-title h3{font-size:16px;margin:0}.nx42-section-title p{font-size:9px;color:#728097;margin:4px 0 0}.nx42-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 28px}.nx42-form-grid label{display:flex;flex-direction:column;gap:6px}.nx42-form-grid label>span{font-size:9px;font-weight:700;color:#596b84}.nx42-form-grid input,.nx42-form-grid select{height:42px;border:1px solid #d5dfe5;border-radius:7px;background:#fff;color:#203751;padding:0 10px;font-size:10px}.nx42-form-actions{display:flex;gap:10px;margin-top:24px}.nx42-form-actions .nx42-primary,.nx42-form-actions .nx42-secondary{height:42px;padding:0 22px;font-size:10px}.nx42-help-card{background:#fff;border:1px solid var(--nx42-line);border-radius:12px;padding:18px;box-shadow:0 5px 18px rgba(14,42,54,.03)}.nx42-help-card>button{width:100%;height:36px;border:1px solid #cfe4df;background:#f1faf8;color:#087a71;border-radius:7px;font-size:9px;font-weight:800;margin:7px 0 12px}.nx42-help-links{border-top:1px solid #e5eaed}.nx42-help-links>span{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;min-height:55px;border-bottom:1px solid #edf1f2}.nx42-help-links>span>svg{width:34px;height:34px;padding:8px;border-radius:9px;background:#f0f8f7;color:#0b5e6a}.nx42-help-links strong{font-size:10px}.nx42-help-links small{display:block;font-size:8px;color:#7c899b;margin-top:2px}.nx42-help-links b{font-size:20px}.nx42-tip-card{margin-top:16px;background:linear-gradient(135deg,#eafaf6,#e7f8f5);border:1px solid #d4eee8;border-radius:12px;padding:16px;display:flex;gap:12px;color:#087b72}.nx42-tip-card>svg{width:38px;height:38px;padding:9px;border-radius:10px;background:#d9f4ed}.nx42-tip-card span{display:flex;flex-direction:column}.nx42-tip-card small{font-size:9px;font-weight:800}.nx42-tip-card strong{font-size:11px;color:#14233d;margin-top:7px}.nx42-tip-card p{font-size:9px;color:#6e7e92;margin:5px 0 0}.nx42-settings-list{display:grid;gap:10px}.nx42-settings-list button{min-height:72px;border:1px solid #e3e9ec;border-radius:9px;background:#fff;padding:12px;display:flex;align-items:center;justify-content:space-between;text-align:left}.nx42-settings-list button>span{display:grid;grid-template-columns:34px 1fr;gap:9px}.nx42-settings-list svg{width:34px;height:34px;padding:8px;border-radius:9px;background:#eef8f6;color:#087a72}.nx42-settings-list strong{font-size:11px}.nx42-settings-list small{font-size:9px;color:#718098}.nx42-toggle-list{display:grid;gap:10px}.nx42-toggle-list label{min-height:68px;border:1px solid #e4eaed;border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between}.nx42-toggle-list label>span{display:flex;flex-direction:column}.nx42-toggle-list strong{font-size:11px}.nx42-toggle-list small{font-size:9px;color:#718098;margin-top:3px}.nx42-toggle-list input{display:none}.nx42-toggle-list label>i{width:42px;height:24px;border-radius:14px;background:#dce4e7;position:relative}.nx42-toggle-list label>i:after{content:"";position:absolute;width:18px;height:18px;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.13);transition:.15s}.nx42-toggle-list input:checked+i{background:#0a9b89}.nx42-toggle-list input:checked+i:after{left:21px}.nx42-access-grid{display:grid;gap:10px}.nx42-access-grid>div{min-height:64px;border:1px solid #e4eaed;border-radius:9px;padding:8px 12px;display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center}.nx42-access-logo{width:44px;height:44px;border-radius:9px;object-fit:contain;background:#fafcfc}.nx42-access-grid span{display:flex;flex-direction:column}.nx42-access-grid strong{font-size:11px}.nx42-access-grid small{font-size:8px;color:#76859a;margin-top:2px}.nx42-access-grid em{font-size:9px;font-style:normal;background:#e8f8f5;color:#087b72;border-radius:999px;padding:6px 9px;font-weight:700}

/* Make untouched legacy pages more coherent with v42 shell */
.nx42-main>.view:not(.nx42-overview):not(.nx42-analytics):not(.nx42-profile) .hero-title h1{font-size:38px!important;letter-spacing:-.05em!important;color:var(--nx42-ink)!important}.nx42-main>.view:not(.nx42-overview):not(.nx42-analytics):not(.nx42-profile) .card{border-color:var(--nx42-line)!important;box-shadow:0 5px 18px rgba(14,42,54,.03)!important;border-radius:12px!important}

@media(max-width:1280px){.nx42-selector-content{grid-template-columns:1fr 320px;padding-left:30px;padding-right:30px;gap:24px}.nx42-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx42-overview-bottom,.nx42-analytics-bottom{grid-template-columns:1fr 1fr}.nx42-overview-bottom>:last-child,.nx42-analytics-bottom>:last-child{grid-column:1/-1}.nx42-analytics-filter{grid-template-columns:1.4fr repeat(3,.8fr);}.nx42-analytics-filter .nx42-granularity,.nx42-analytics-filter .nx42-apply{grid-column:auto}.nx42-profile-layout{grid-template-columns:1fr 320px}}
@media(max-width:980px){.nx42-login-bg img{width:100vw;right:-25vw;opacity:.35}.nx42-login-bg:after{background:rgba(246,253,251,.72)}.nx42-login-page{padding:84px 18px 64px;justify-content:center}.nx42-login-card{width:min(520px,100%)}.nx42-login-topbrand{left:22px;top:20px}.nx42-login-footer{display:none}.nx42-app-shell{display:block}.nx42-sidebar{position:fixed!important;left:-250px!important;z-index:40!important;width:220px!important;transition:left .2s}.nx42-sidebar.open{left:0!important}.nx42-sidebar .nx42-side-brand{width:194px}.nx42-sidebar .nx42-side-brand>span{opacity:1;transform:none}.nx42-sidebar .nx42-nav{width:194px!important}.nx42-sidebar .nx42-nav .nav-item{width:194px!important;justify-content:flex-start!important;padding:0 14px!important}.nx42-sidebar .nx42-nav .nav-item>span:not(.nav-badge),.nx42-sidebar .nx42-nav .nav-badge{display:inline-flex}.nx42-sidebar .nx42-side-footer{width:194px}.nx42-sidebar .nx42-profile-entry{width:194px}.nx42-sidebar .nx42-profile-entry>span:nth-child(2),.nx42-sidebar .nx42-profile-entry>b{opacity:1}.nx42-sidebar .nx42-logout{width:194px!important;justify-content:flex-start!important;padding:0 14px!important}.nx42-sidebar .nx42-logout>span{display:inline}.nx42-workspace{margin-left:0}.nx42-main{padding:18px 14px 90px!important}.nx42-kpi-grid{grid-template-columns:1fr 1fr}.nx42-overview-middle,.nx42-overview-bottom,.nx42-analytics-main,.nx42-analytics-bottom,.nx42-profile-layout{grid-template-columns:1fr}.nx42-overview-bottom>:last-child,.nx42-analytics-bottom>:last-child{grid-column:auto}.nx42-analytics-filter{grid-template-columns:1fr 1fr}.nx42-filter-presets{grid-column:1/-1}.nx42-page-head{flex-direction:column}.nx42-head-callout,.nx42-account-ok{min-width:0;width:100%}.nx42-profile-hero{grid-template-columns:80px 1fr}.nx42-profile-meta{grid-column:1/-1;border-left:0;border-top:1px solid #e4e9ec;padding:16px 0 0}.nx42-edit-profile{position:absolute;right:20px}.nx42-selector-content{grid-template-columns:1fr}.nx42-selector-tools{grid-template-columns:1fr 1fr;display:grid}.nx42-selector-promo{grid-column:1/-1}.nx42-selector-page{padding-left:0}.nx42-selector-rail{width:58px}.nx42-selector-workspace{margin-left:58px}.nx42-selector-wordmark{display:none}.nx42-selector-top{justify-content:flex-end;padding:0 14px}.nx42-company-grid{grid-template-columns:repeat(2,1fr)}.nx42-account-content{padding:24px 14px 70px}}
@media(max-width:640px){.nx42-login-card{padding:26px 20px}.nx42-login-copy h1{font-size:34px}.nx42-kpi-grid{grid-template-columns:1fr}.nx42-selector-content{padding:28px 14px}.nx42-selector-copy h1{font-size:34px}.nx42-selector-copy h2{font-size:18px}.nx42-selector-controls{grid-template-columns:1fr;margin:28px 0}.nx42-company-grid,.nx42-selector-tools,.nx42-form-grid{grid-template-columns:1fr}.nx42-profile-tabs{overflow:auto;grid-template-columns:repeat(5,130px)}.nx42-profile-hero{grid-template-columns:1fr;text-align:center}.nx42-profile-avatar{margin:auto}.nx42-profile-meta{grid-column:auto}.nx42-edit-profile{position:static;justify-self:center}.nx42-analytics-filter{grid-template-columns:1fr}.nx42-filter-presets{grid-column:auto}.nx42-analytics-kpis{grid-template-columns:1fr}.nx42-page-head h1{font-size:32px}}

/* ===== Login atual ===== */
/* NEXO Web v44 — Login híbrido: fundo em alta resolução + interface 100% HTML/CSS */
.nx44-login-page{
  position:fixed;
  inset:0;
  overflow:hidden;
  background:#edf9f7;
  color:#0a1930;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  isolation:isolate;
}
.nx44-login-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background-color:#edf9f7;
  background-image:url('/assets/nexo-login-background.webp?v=48');
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  pointer-events:none;
  user-select:none;
}
.nx44-login-card{
  position:absolute;
  z-index:2;
  left:9.55vw;
  top:50%;
  transform:translateY(-50%);
  width:clamp(430px,28.7vw,500px);
  box-sizing:border-box;
  padding:31px 40px 28px;
  border:1px solid rgba(214,228,231,.82);
  border-radius:20px;
  background:rgba(255,255,255,.965);
  box-shadow:0 24px 66px rgba(18,64,65,.105);
  backdrop-filter:blur(8px);
}
.nx44-login-cardbrand{
  display:flex;
  align-items:center;
  gap:11px;
  color:#122b4b;
  margin-bottom:29px;
}
.nx44-login-cardbrand img{
  width:43px;
  height:43px;
  flex:0 0 43px;
  object-fit:contain;
  image-rendering:auto;
}
.nx44-login-cardbrand>span{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.nx44-login-cardbrand strong{
  font-size:24px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.045em;
  color:#10284a;
}
.nx44-login-cardbrand small{
  margin-top:5px;
  font-size:9px;
  line-height:1;
  color:#355477;
  font-weight:800;
  letter-spacing:.16em;
}
.nx44-login-copy h1{
  margin:0;
  max-width:410px;
  color:#081832;
  font-size:clamp(36px,2.38vw,46px);
  line-height:1.025;
  font-weight:900;
  letter-spacing:-.06em;
}
.nx44-login-copy p{
  margin:13px 0 25px;
  max-width:395px;
  color:#6e7f99;
  font-size:14.5px;
  line-height:1.52;
  font-weight:500;
}
.nx44-login-form{
  display:grid;
  gap:13px;
}
.nx44-login-form>label>span{
  display:block;
  margin:0 0 7px;
  color:#10213c;
  font-size:11.5px;
  line-height:1;
  font-weight:800;
}
.nx44-input{
  height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  border:1px solid #cfdbe4;
  border-radius:8px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,42,62,.018);
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.nx44-input:focus-within{
  border-color:#7dbab4;
  box-shadow:0 0 0 3px rgba(7,140,131,.075);
  background:#fff;
}
.nx44-input>svg{
  width:17px;
  height:17px;
  flex:0 0 17px;
  color:#7186a2;
}
.nx44-input input{
  min-width:0;
  flex:1;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#192941;
  font:500 12.5px/1 Inter,system-ui,sans-serif;
  padding:0;
}
.nx44-input input::placeholder{color:#97a5b7;opacity:1}
.nx44-input button{
  width:30px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 30px;
  padding:0;
  border:0;
  background:transparent;
  color:#7388a2;
  cursor:pointer;
  border-radius:6px;
}
.nx44-input button:hover{background:#f3f7f8;color:#0b7e75}
.nx44-input button svg{width:17px;height:17px}
.nx44-login-links{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:-2px;
}
.nx44-login-links button{
  border:0;
  background:transparent;
  padding:0;
  color:#078477;
  font:800 11px/1.2 Inter,system-ui,sans-serif;
  cursor:pointer;
}
.nx44-login-links button:hover{text-decoration:underline}
.nx44-primary,
.nx44-secondary{
  width:100%;
  height:50px;
  border-radius:8px;
  font-family:Inter,system-ui,sans-serif;
  font-weight:800;
  cursor:pointer;
  transition:transform .12s ease,background .15s ease,border-color .15s ease;
}
.nx44-primary{
  margin-top:2px;
  border:1px solid #078d80;
  background:linear-gradient(90deg,#079c86 0%,#078d80 100%);
  color:#fff;
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  box-shadow:0 8px 18px rgba(7,141,128,.13);
}
.nx44-primary:hover{background:linear-gradient(90deg,#078e7c,#077f75)}
.nx44-primary:active,.nx44-secondary:active{transform:translateY(1px)}
.nx44-primary:disabled{opacity:.72;cursor:wait}
.nx44-secondary{
  border:1px solid #cfe1df;
  background:rgba(247,252,251,.9);
  color:#087c72;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.nx44-secondary:hover{background:#eef9f7;border-color:#b9d9d5}
.nx44-secondary svg{width:17px;height:17px}
.nx44-login-error{
  display:none;
  margin:-2px 0 0;
  padding:8px 10px;
  border:1px solid #f1c9cf;
  border-radius:7px;
  background:#fff4f5;
  color:#b53c4d;
  font-size:10.5px;
  text-align:center;
}
.nx44-login-error.show{display:block}
.nx44-login-help{
  position:relative;
  margin-top:17px;
  padding-top:18px;
  border-top:1px solid #e2e9ec;
  text-align:center;
}
.nx44-login-help>span{
  position:absolute;
  left:50%;
  top:-7px;
  transform:translateX(-50%);
  padding:0 10px;
  background:#fff;
  color:#8c99aa;
  font-size:10px;
  white-space:nowrap;
}
.nx44-login-help>button{
  margin:0 auto;
  padding:0;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#087e73;
  cursor:pointer;
  text-align:left;
}
.nx44-login-help>button>svg{width:22px;height:22px;flex:0 0 22px}
.nx44-login-help>button>span{display:flex;flex-direction:column}
.nx44-login-help strong{font-size:12.5px;line-height:1.15;font-weight:800}
.nx44-login-help small{margin-top:3px;color:#7f8fa4;font-size:9.5px;line-height:1.2}
.nx44-login-footer{
  position:absolute;
  z-index:2;
  left:3.3vw;
  right:3.7vw;
  bottom:2.45vh;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  color:#687a91;
  font-size:9px;
  pointer-events:auto;
}
.nx44-footer-brand{
  display:flex;
  flex-direction:column;
  padding-left:11px;
  border-left:2px solid #0a9b8b;
}
.nx44-footer-brand strong{color:#354a64;font-size:9.2px;font-weight:800}
.nx44-footer-brand small{margin-top:3px;font-size:8.7px;color:#73849a}
.nx44-login-footer nav{
  display:flex;
  align-items:center;
  gap:22px;
}
.nx44-login-footer nav button,
.nx44-login-footer nav span{
  border:0;
  padding:0;
  background:transparent;
  color:#687a91;
  font:500 9px/1 Inter,system-ui,sans-serif;
}
.nx44-login-footer nav button{cursor:pointer}
.nx44-login-footer nav button:hover{color:#087e73}
.nx44-login-footer nav i{width:1px;height:22px;background:#96a5b7}


/* Wide desktop browser view (the current NEXO target): keep the artwork at the intended scale. */
@media (min-aspect-ratio: 1.93/1){
  .nx44-login-bg{background-size:cover;background-position:center center}
}
/* Slightly taller screens: avoid zooming the hero too much. */
@media (max-aspect-ratio: 1.929/1) and (min-width:981px){
  .nx44-login-bg{background-size:cover;background-position:center center}
  .nx44-login-card{left:7.5vw;width:clamp(420px,29vw,495px)}
}
@media(max-height:760px) and (min-width:981px){
  .nx44-login-card{padding:25px 34px 23px;width:clamp(410px,27.8vw,470px)}
  .nx44-login-cardbrand{margin-bottom:20px}
  .nx44-login-copy h1{font-size:36px}
  .nx44-login-copy p{margin:10px 0 19px;font-size:13px}
  .nx44-login-form{gap:10px}
  .nx44-input{height:42px}
  .nx44-primary,.nx44-secondary{height:44px}
  .nx44-login-help{margin-top:13px;padding-top:15px}
}
@media(max-width:980px){
  .nx44-login-bg{
    background-size:auto 100%;
    background-position:62% center;
    opacity:.34;
  }
  .nx44-login-page:after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:rgba(241,250,248,.72);
    pointer-events:none;
  }
  .nx44-login-card{
    left:50%;
    top:50%;
    width:min(500px,calc(100vw - 32px));
    transform:translate(-50%,-50%);
    padding:28px 24px 25px;
  }
  .nx44-login-copy h1{font-size:36px}
  .nx44-login-footer{display:none}
}
@media(max-width:520px){
  .nx44-login-cardbrand{margin-bottom:22px}
  .nx44-login-copy h1{font-size:32px}
  .nx44-login-copy p{font-size:13px;margin-bottom:20px}
  .nx44-login-card{padding:24px 20px 22px;border-radius:16px}
}


/* ===== v51 — Seletor: rail limpo + logout centralizado ===== */
.nx42-selector-rail-clean{
  align-items:center;
}
.nx42-selector-rail-clean .nx42-rail-logo{
  align-self:flex-start;
}
.nx42-selector-rail-clean .nx42-rail-spacer{
  flex:1 1 auto;
  width:100%;
  min-height:24px;
}
.nx42-selector-rail-clean .nx42-rail-profile,
.nx42-selector-rail-clean .nx42-rail-logout{
  align-self:center;
  margin-left:0;
  margin-right:0;
}
.nx42-selector-rail-clean .nx42-rail-logout{
  position:relative;
  padding:0!important;
  justify-content:center!important;
}
.nx42-selector-rail-clean .nx42-rail-logout-icon{
  width:48px;
  height:44px;
  display:grid;
  place-items:center;
  flex:0 0 48px;
}
.nx42-selector-rail-clean .nx42-rail-logout-icon svg{
  width:19px;
  height:19px;
  display:block;
  margin:0;
}
.nx42-selector-rail-clean .nx42-rail-logout-text{
  display:none;
  opacity:0;
  white-space:nowrap;
}
.nx42-selector-rail-clean:hover .nx42-rail-logout{
  width:194px;
  justify-content:flex-start!important;
  padding:0!important;
}
.nx42-selector-rail-clean:hover .nx42-rail-logout-text{
  display:inline;
  opacity:1;
  margin-left:10px;
}
.nx42-selector-rail-clean:hover .nx42-rail-profile{
  align-self:center;
}

/* ===== v52 — corrige ícone Sair no rail recolhido ===== */
.nx42-selector-rail-clean .nx42-rail-logout-icon{
  opacity:1!important;
  visibility:visible!important;
}
.nx42-selector-rail-clean .nx42-rail-logout-icon svg{
  opacity:1!important;
  visibility:visible!important;
}


/* v55 — company shell alignment and quick company switching */
.nx54-company-rail .nx42-side-brand img{content:url('/assets/nexo-mark.png');filter:brightness(1.18) saturate(1.08)}
/* footer stays pinned to the bottom while rail is collapsed; promo only takes space while expanded */
.nx55-mobile-menu{display:none!important}
.nx55-company-picker{position:relative;display:flex;align-items:center}
.nx55-company-switch{width:300px!important;min-width:300px!important;height:46px!important;padding:0 13px!important;gap:11px!important;overflow:visible!important}
.nx55-company-switch .top-company-logo{width:42px!important;height:30px!important;flex:0 0 42px!important;object-fit:contain!important;background:#fbfcfc!important;border-radius:6px!important}
.nx55-company-switch>span{min-width:0;flex:1}
.nx55-company-switch strong{font-size:12px!important;line-height:1.1!important}
.nx55-company-switch small{font-size:8.5px!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.nx55-company-switch>.icon{margin-left:4px!important;transition:transform .16s ease}
.nx55-company-switch[aria-expanded="true"]>.icon{transform:rotate(180deg)}
.nx55-company-menu{position:absolute;z-index:120;left:0;top:54px;width:340px;padding:8px;background:#fff;border:1px solid #dfe7e9;border-radius:12px;box-shadow:0 16px 38px rgba(11,39,52,.12)}
.nx55-company-menu[hidden]{display:none!important}
.nx55-company-menu-head{padding:7px 9px 9px;color:#74839a;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.nx55-company-option{width:100%;display:flex;align-items:center;gap:10px;padding:9px;border:0;border-radius:9px;background:#fff;color:#0b1730;text-align:left;cursor:pointer}
.nx55-company-option:hover{background:#f2f8f7}
.nx55-company-option:disabled{opacity:.55;cursor:wait}
.nx55-company-option-logo{width:42px;height:34px;object-fit:contain;border:1px solid #edf1f2;border-radius:7px;background:#fff;flex:0 0 42px}
.nx55-company-option>span{min-width:0;display:flex;flex-direction:column}
.nx55-company-option strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx55-company-option small{font-size:8.5px;color:#7b899d;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx55-company-empty{padding:14px 10px;color:#7b899d;font-size:10px}
/* company rail uses the same bottom/account geometry as the selector rail */
.nx54-company-rail .nx42-side-footer{width:48px!important;padding-top:10px!important}
.nx54-company-rail .nx42-profile-entry{flex-shrink:0}
.nx54-company-rail .nx42-logout{flex-shrink:0}
/* routine icon mirrors the app: rounded square with check */
.nx42-nav .nav-item[data-view="routine"] svg{stroke-width:1.8}
@media(max-width:980px){
  .nx55-mobile-menu{display:grid!important;width:42px!important;height:42px!important;border-radius:10px!important;background:#eef7f5!important;border:0!important;color:#0b6f68!important}
  .nx55-company-switch{width:min(300px,calc(100vw - 92px))!important;min-width:0!important}
  .nx55-company-menu{width:min(340px,calc(100vw - 28px))}
}

/* ===== v57 — período financeiro, fluxo semanal e notificações contextuais ===== */
.nx57-period-select{
  min-width:142px!important;
  padding:0 28px 0 11px!important;
  appearance:auto!important;
  cursor:pointer;
}
.nx57-chart-period-12m .chart-label-value{font-size:6.5px!important}
.nx57-chart-period-12m .chart-month>strong{font-size:7px!important}
.nx57-chart-period-30d .chart-label-value{font-size:7px!important}

/* Notifications: one component, scoped either to the account or the active company. */
.nx57-notification-wrap{position:relative;display:flex;align-items:center;z-index:140}
.nx57-notification-button[aria-expanded="true"]{border-color:#a9d7d1;background:#f1faf8;color:#087c73}
.nx57-notification-panel{position:absolute;right:0;top:50px;width:360px;max-height:min(470px,calc(100vh - 84px));overflow:hidden;background:#fff;border:1px solid #dfe7ea;border-radius:14px;box-shadow:0 20px 54px rgba(10,35,48,.16);z-index:250;text-align:left}
.nx57-notification-head{min-height:61px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f3;background:#fbfcfd}
.nx57-notification-head>span{min-width:0;display:flex;flex-direction:column}
.nx57-notification-head strong{font-size:11px;color:#0a1830;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx57-notification-head small{font-size:8px;color:#8290a3;margin-top:3px}
.nx57-notification-head button{border:0;background:transparent;color:#07877d;font-size:8px;font-weight:800;padding:5px;white-space:nowrap}
.nx57-notification-list{max-height:395px;overflow:auto;padding:6px}
.nx57-notification-item{position:relative;width:100%;min-height:66px;border:0;border-radius:10px;background:#fff;display:grid;grid-template-columns:36px minmax(0,1fr) 8px;align-items:center;gap:9px;padding:8px;text-align:left;color:#0c1b33}
.nx57-notification-item:hover{background:#f5f9f8}
.nx57-notification-item.unread{background:#f7fbfa}
.nx57-notification-item.read{opacity:.72}
.nx57-notification-item>span:nth-child(2){min-width:0;display:flex;flex-direction:column}
.nx57-notification-item strong{font-size:9px;line-height:1.25;color:#132540}
.nx57-notification-item small{font-size:7.5px;line-height:1.35;color:#7c8ba0;margin-top:3px}
.nx57-notification-item>i{width:6px;height:6px;border-radius:50%;background:#ef4057;justify-self:center}
.nx57-notification-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#e9f7f4;color:#087e73}
.nx57-notification-icon svg{width:16px;height:16px}
.nx57-notification-icon.red{background:#fff0f2;color:#d34f62}
.nx57-notification-icon.blue{background:#edf6ff;color:#3285c3}
.nx57-notification-icon.orange{background:#fff4e2;color:#c98612}
.nx57-notification-icon.green{background:#e9f8f3;color:#118a6e}
.nx57-notification-empty{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7d8b9f;padding:24px}
.nx57-notification-empty svg{width:25px;height:25px;color:#0a9a81;margin-bottom:8px}
.nx57-notification-empty strong{font-size:10px;color:#30455d}
.nx57-notification-empty small{font-size:8px;max-width:230px;margin-top:4px;line-height:1.4}
.nx42-selector-top,.nx42-topbar{overflow:visible!important}

@media(max-width:980px){
  .nx57-notification-panel{position:fixed;right:14px;top:70px;width:min(360px,calc(100vw - 28px));max-height:calc(100dvh - 92px)}
}
.nx42-overview select.nx57-period-select{display:block!important;line-height:normal!important;color:#29425c!important;background-color:#fff!important}

/* ===== v66 — Visão geral consolidada: geometria estável e responsiva ===== */
/* Esta seção substitui as experiências v58-v65. Não empilhar correções abaixo dela. */

/* Cabeçalho/topbar permanece alinhado ao mesmo eixo do conteúdo. */
@media (min-width:1441px){
  .nx42-topbar{padding-left:max(28px,calc((100vw - 70px - 1516px)/2 + 28px))!important;padding-right:max(28px,calc((100vw - 70px - 1516px)/2 + 28px))!important}
}
@media (min-width:981px) and (max-width:1440px){
  .nx42-topbar{padding-left:18px!important;padding-right:18px!important}
  .nx42-topbar .topbar-left{transition:transform .18s ease}
  .nx54-company-rail:hover + .nx42-workspace .nx42-topbar .topbar-left{transform:translateX(150px)}
}

/* KPIs: hierarquia legível, sem voltar a microtipografia. */
.nx42-overview .nx42-kpi small{font-size:12px!important;line-height:1.15!important;color:#30445f!important;font-weight:800!important}
.nx42-overview .nx42-kpi strong{margin:5px 0 4px!important}
.nx42-overview .nx42-kpi em,.nx42-overview .nx42-kpi em i{font-size:9.5px!important;line-height:1.2!important}
.nx42-overview .dashboard-card-head p,.nx42-overview .compact-panel-head p,.nx42-overview .nx42-panel-head p,.nx42-overview .accepted-formats{font-size:10px!important;line-height:1.35!important}
.nx42-overview .panel-link{font-size:10px!important}
.nx42-overview .recent-table-v2,.nx42-overview .recent-head,.nx42-overview .recent-row{font-size:9.5px!important}
.nx42-overview .stock-row-v2 small{font-size:9px!important}.nx42-overview .stock-row-v2 strong{font-size:10px!important}

/* Duas linhas principais. Nunca reduzir a altura até os conteúdos se sobreporem. */
.nx42-overview-middle{display:grid!important;grid-template-columns:minmax(0,2.28fr) minmax(300px,.9fr)!important;gap:12px!important;align-items:stretch!important;margin-bottom:12px!important}
.nx42-overview .nx42-finance-chart,.nx42-overview .nx42-import{height:auto!important;min-height:258px!important;overflow:hidden!important}
.nx42-finance-chart{padding:14px 14px 10px!important}.nx42-import{padding:14px!important;display:flex!important;flex-direction:column!important}
.nx42-import .pdv-dropzone{flex:1 1 auto!important;min-height:126px!important}.nx42-import .accepted-formats{margin-top:auto!important}
.nx42-overview .dashboard-card-head{margin-bottom:4px!important}.nx42-overview .chart-legend.nx66-legend{justify-content:flex-end!important;font-size:9px!important;margin:-4px 5px 2px!important}

/* SVG financeiro: eixo, colunas e dias pertencem ao mesmo sistema de coordenadas. */
.nx66-chart-wrap{height:188px!important;width:100%!important;min-width:0!important;overflow:hidden!important}
.nx66-chart{display:block;width:100%!important;height:100%!important;overflow:visible;font-family:inherit}
.nx66-grid-line{stroke:#e7edef;stroke-width:1;vector-effect:non-scaling-stroke}
.nx66-axis-label{fill:#708096;font-size:8.5px;font-weight:600}
.nx66-bar.revenue{fill:#11a489}.nx66-bar.expense{fill:#ed6672}
.nx66-bar{cursor:help;transition:opacity .15s ease}.nx66-bar:hover{opacity:.82}
.nx66-value{font-size:8.2px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:2.4px;stroke-linejoin:round}.nx66-value.revenue{fill:#078577}.nx66-value.expense{fill:#d9505d}
.nx66-x-label{fill:#56677d;font-size:8.5px;font-weight:700}.nx66-x-label.current{fill:#087b70;font-weight:850}
.nx66-current-pill{fill:#e0f7f1}.nx66-future{fill:#a3aeb9;font-size:11px}
.nx66-chart-wrap.is-dense .nx66-value{display:none}

/* Linha inferior: o grid define a geometria; cada card pode crescer, nunca invadir o vizinho. */
.nx42-overview-bottom{display:grid!important;grid-template-columns:minmax(0,1.34fr) minmax(300px,.96fr) minmax(320px,1.08fr)!important;gap:12px!important;align-items:stretch!important}
.nx42-overview-bottom>.nx42-card{height:auto!important;min-height:226px!important;overflow:hidden!important}
.nx64-recent-card,.nx64-stock-card,.nx64-week-card{display:flex!important;flex-direction:column!important}
.nx42-overview .compact-panel-head,.nx66-week-head{flex:0 0 auto!important;margin-bottom:7px!important}

/* Recentes: cinco linhas cabem sem achatar o texto. */
.nx64-recent-card .recent-table-v2{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
.nx64-recent-card .recent-head,.nx64-recent-card .recent-row{min-height:29px!important;padding:5px 6px!important}

/* Estoque: quatro itens legíveis + um resumo compacto do restante. */
.nx66-stock-list{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important}
.nx66-stock-list .stock-row-v2{flex:1 1 0!important;min-height:36px!important;height:auto!important;padding:3px 0!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;border-bottom:1px solid #eef2f3!important}
.nx66-stock-list .stock-row-v2:last-child{border-bottom:0!important}.nx66-stock-list .stock-row-icon{width:28px!important;height:28px!important}
.nx66-stock-list .stock-row-v2>span{min-width:0!important}.nx66-stock-list .stock-row-v2>span strong,.nx66-stock-list .stock-row-v2>span small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.nx66-stock-list .stock-row-v2>b{font-size:10px!important;white-space:nowrap!important}.nx66-stock-list .stock-row-v2>b small{display:block!important;font-size:8px!important;color:#8995a4!important;text-align:right!important}
.nx66-stock-more{flex:0 0 auto!important;width:100%!important;min-height:31px!important;margin-top:6px!important;padding:5px 8px!important;border:1px solid #dceee9!important;border-radius:9px!important;background:#f2faf8!important;color:#087d72!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:5px!important;text-align:left!important;cursor:pointer!important}.nx66-stock-more strong{font-size:10px!important}.nx66-stock-more span{font-size:9px!important}.nx66-stock-more>b{font-size:15px!important}

/* Previsão: um saldo principal e duas ações. A leitura cabe em qualquer desktop sem amassar. */
.nx66-week-head{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important}
.nx66-week-head h3{font-size:14px!important;margin:0!important}.nx66-week-head p{font-size:9px!important;margin:2px 0 0!important}
.nx66-week-body{flex:1 1 auto!important;min-height:0!important;display:grid!important;grid-template-rows:minmax(66px,.95fr) minmax(58px,1.05fr)!important;gap:8px!important}
.nx66-week-balance{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;padding:9px 10px!important;border:1px solid #dce8ef!important;border-radius:11px!important;background:#f4f8fc!important}.nx66-week-balance.positive{background:#eef9f6!important;border-color:#d5ebe5!important}.nx66-week-balance.negative{background:#fff3f4!important;border-color:#efdadd!important}
.nx66-week-icon{width:36px!important;height:36px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:#e8f2fb!important;color:#347bc0!important}.nx66-week-icon svg{width:17px!important;height:17px!important}.nx66-week-balance.positive .nx66-week-icon,.nx66-week-action.revenue .nx66-week-icon{background:#dff5ef!important;color:#087d72!important}.nx66-week-balance.negative .nx66-week-icon,.nx66-week-action.due .nx66-week-icon{background:#fde6e9!important;color:#cf4e5b!important}
.nx66-week-balance>span:last-child,.nx66-week-action>span:nth-child(2){min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}.nx66-week-balance small,.nx66-week-action small{font-size:9.5px!important;font-weight:800!important;color:#66788e!important}.nx66-week-balance strong{font-size:18px!important;line-height:1!important;letter-spacing:-.03em!important}.nx66-week-balance.positive strong{color:#087d72!important}.nx66-week-balance.negative strong{color:#c84f5b!important}
.nx66-week-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;min-height:0!important}.nx66-week-action{min-width:0!important;border:1px solid #e3eaed!important;border-radius:10px!important;background:#fff!important;padding:8px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 11px!important;align-items:center!important;gap:7px!important;text-align:left!important;cursor:pointer!important;color:#17314d!important}.nx66-week-action.revenue{background:#f3fbf9!important;border-color:#dceee9!important}.nx66-week-action.due{background:#fff7f7!important;border-color:#f0e0e2!important}.nx66-week-action strong{font-size:12.5px!important;line-height:1!important;white-space:nowrap!important}.nx66-week-action.revenue strong{color:#087d72!important}.nx66-week-action.due strong{color:#ce4f5b!important}.nx66-week-action>b{font-size:16px!important;color:#708097!important}

/* Detalhes da previsão: componente independente, legível e acima do dashboard. */
.nx61-week-popover{position:fixed;z-index:420;background:#fff;border:1px solid #dfe7ea;border-radius:14px;box-shadow:0 18px 50px rgba(10,35,48,.18);padding:0;overflow:hidden;color:#142840}
.nx61-week-popover-head{min-height:58px;padding:10px 12px;display:grid;grid-template-columns:36px minmax(0,1fr) 26px;align-items:center;gap:9px;border-bottom:1px solid #edf1f3;background:#fbfcfd}.nx61-week-popover-head>div{min-width:0}.nx61-week-popover-head strong{display:block;font-size:12px}.nx61-week-popover-head small{display:block;font-size:9px;color:#7c8a9d;margin-top:2px}.nx61-week-popover-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.nx61-week-popover-icon.revenue{background:#e3f6f1;color:#087d72}.nx61-week-popover-icon.due{background:#fdebed;color:#cf4e5b}.nx61-week-popover-icon svg{width:16px;height:16px}.nx61-week-popover-close{width:26px;height:26px;border:0;background:transparent;font-size:20px;color:#718096;cursor:pointer}
.nx61-week-rule{display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;padding:9px 12px;background:#f5faf9;color:#577087}.nx61-week-rule svg{width:15px;height:15px;color:#087d72}.nx61-week-rule strong{display:block;font-size:9.5px}.nx61-week-rule small{display:block;font-size:9px;line-height:1.35;margin-top:2px}
.nx61-week-detail-list{max-height:265px;overflow:auto;padding:5px 10px}.nx61-week-detail-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px;border-bottom:1px solid #eef2f3}.nx61-week-detail-row:last-child{border-bottom:0}.nx61-week-detail-row>span{min-width:0}.nx61-week-detail-row>span strong{display:block;font-size:10px;text-transform:capitalize}.nx61-week-detail-row>span small{display:block;font-size:9px;color:#8290a1;margin-top:2px}.nx61-week-detail-row>b{font-size:10.5px;white-space:nowrap;color:#17314d}.nx61-week-detail-total{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f2faf8;border-top:1px solid #dfeeea}.nx61-week-detail-total.due{background:#fff6f7;border-color:#f0e0e2}.nx61-week-detail-total span{font-size:9.5px;font-weight:800}.nx61-week-detail-total strong{font-size:13px;color:#087d72}.nx61-week-detail-total.due strong{color:#ce4f5b}.nx61-week-empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#75869a}.nx61-week-empty svg{width:22px;height:22px;color:#0a987f}.nx61-week-empty strong{font-size:10px;color:#30455d;margin-top:5px}.nx61-week-empty small{font-size:9px;margin-top:3px}

/* Notebooks: mantém a geometria; aceita rolagem vertical em vez de sobreposição. */
@media (min-width:981px) and (max-width:1440px){
  .nx42-main{padding:14px 18px 20px!important}.nx42-page-head{margin-bottom:9px!important}.nx42-page-head h1{font-size:35px!important}.nx42-page-head p{font-size:10px!important}
  .nx42-kpi-grid{gap:9px!important;margin-bottom:9px!important}.nx42-kpi{min-height:88px!important;padding:9px 10px!important;grid-template-columns:39px minmax(0,1fr) auto!important;gap:8px!important}.nx42-kpi-icon{width:39px!important;height:39px!important}.nx42-overview .nx42-kpi small{font-size:11px!important}.nx42-overview .nx42-kpi strong{font-size:20px!important}.nx42-overview .nx42-kpi em,.nx42-overview .nx42-kpi em i{font-size:8.8px!important}
  .nx42-overview-middle{grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;gap:9px!important;margin-bottom:9px!important}.nx42-overview .nx42-finance-chart,.nx42-overview .nx42-import{min-height:238px!important}.nx66-chart-wrap{height:168px!important}.nx42-import .pdv-dropzone{min-height:108px!important}
  .nx42-overview-bottom{grid-template-columns:minmax(0,1.32fr) minmax(280px,.94fr) minmax(300px,1.05fr)!important;gap:9px!important}.nx42-overview-bottom>.nx42-card{min-height:220px!important}.nx42-overview .compact-panel-head{grid-template-columns:36px minmax(0,1fr) auto!important;gap:7px!important}.nx42-overview .compact-panel-head h3,.nx66-week-head h3{font-size:12.5px!important}.nx42-overview .compact-panel-head p,.nx66-week-head p{font-size:8.5px!important}.nx42-overview .dashboard-title-icon,.nx42-panel-icon{width:36px!important;height:36px!important}
}

/* Mobile mantém o comportamento atual; o app-like mobile será tratado em camada própria. */
@media(max-width:980px){
  .nx42-overview-middle,.nx42-overview-bottom{grid-template-columns:1fr!important}.nx42-overview .nx42-finance-chart,.nx42-overview .nx42-import,.nx42-overview-bottom>.nx42-card{min-height:0!important;height:auto!important}.nx66-chart-wrap{min-width:660px!important;height:190px!important}.nx42-finance-chart{overflow-x:auto!important}.nx66-week-body{min-height:190px!important}
}

/* ========================================================================== 
   FINANÇAS — EXPERIÊNCIA EXECUTIVA CANÔNICA
   Estrutura: KPIs 2x2 + categorias no topo, lista completa + painel lateral.
   Alterações futuras devem modificar este bloco, sem criar CSS por versão.
   ========================================================================== */
.nx67-finance{max-width:1480px;margin:0 auto;padding:2px 0 26px}
.nx67-finance-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.nx67-finance-head h1{margin:0;font-size:38px;line-height:1;letter-spacing:-.045em;color:#07162f;font-weight:900}
.nx67-finance-head p{margin:7px 0 0;color:#6d7d96;font-size:12px;line-height:1.4}
.nx67-finance-head .secondary-btn{height:40px;border-radius:11px;background:#fff;border:1px solid #d9e5e6;color:#087d74;font-size:11px;font-weight:800;padding:0 14px;box-shadow:none;display:flex;align-items:center;gap:8px}
.nx67-finance-head .secondary-btn .icon{width:17px;height:17px}

/* topo */
.nx69-finance-top{display:grid;grid-template-columns:minmax(500px,.94fr) minmax(540px,1.06fr);gap:14px;align-items:stretch;margin-bottom:14px}
.nx69-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nx67-finance-kpi{min-height:118px;border:1px solid #dfe7ea;border-radius:14px;background:#fff;display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:start;padding:15px 16px;box-shadow:0 5px 16px rgba(15,49,58,.035)}
.nx67-finance-kpi-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#e9f7f4;color:#078c83}
.nx67-finance-kpi-icon .icon{width:23px;height:23px}
.nx67-finance-kpi>div{display:flex;flex-direction:column;min-width:0}
.nx67-finance-kpi small{font-size:12px;font-weight:800;color:#31465e;line-height:1.2}
.nx67-finance-kpi strong{font-size:25px;line-height:1.05;letter-spacing:-.035em;color:#09182f;margin:7px 0 6px;white-space:nowrap}
.nx67-finance-kpi>div>span{font-size:10px;color:#75849a;line-height:1.35}
.nx67-finance-kpi.paid{background:linear-gradient(135deg,#fff 60%,#f1fbf6)}
.nx67-finance-kpi.paid .nx67-finance-kpi-icon{background:#e4f8ee;color:#099b67}
.nx67-finance-kpi.paid strong{color:#07945f}
.nx67-finance-kpi.pending{background:linear-gradient(135deg,#fff 60%,#fff9ea)}
.nx67-finance-kpi.pending .nx67-finance-kpi-icon{background:#fff2ce;color:#d58b00}
.nx67-finance-kpi.pending strong{color:#b87a00}
.nx67-finance-kpi.late{background:linear-gradient(135deg,#fff 60%,#fff1f2)}
.nx67-finance-kpi.late .nx67-finance-kpi-icon{background:#ffe5e8;color:#dc3f50}
.nx67-finance-kpi.late strong{color:#d33a4b}

/* gráfico por categoria */
.nx67-finance-side-card,.nx67-finance-category{background:#fff;border:1px solid #dfe7ea;border-radius:14px;padding:14px;box-shadow:0 4px 12px rgba(18,49,58,.025)}
.nx69-category-top{margin:0;min-height:248px;padding:16px 18px}
.nx67-finance-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.nx67-finance-section-head h3{margin:0;color:#0b1b33;font-size:16px;letter-spacing:-.025em}
.nx67-finance-section-head p{margin:4px 0 0;color:#7a889b;font-size:10px;line-height:1.35}
.nx67-finance-section-head button{border:0;background:transparent;color:#078c83;font-size:10px;font-weight:800;padding:2px 0;white-space:nowrap;cursor:pointer}
.nx67-finance-category-body{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;align-items:center;min-height:184px}
.nx67-donut{width:168px;height:168px;border-radius:50%;position:relative;display:grid;place-items:center;margin:auto}
.nx67-donut:after{content:"";position:absolute;inset:33px;border-radius:50%;background:#fff}
.nx67-donut>span{position:relative;z-index:1;text-align:center;max-width:110px}
.nx67-donut strong{display:block;color:#10263e;font-size:17px;letter-spacing:-.035em;white-space:nowrap}
.nx67-donut small{display:block;color:#8a97a7;font-size:9px;margin-top:2px}
.nx67-category-legend{display:grid;grid-template-columns:1fr;gap:5px}
.nx67-category-legend>div{display:grid;grid-template-columns:9px minmax(120px,1fr) auto 46px;gap:7px;align-items:center;min-height:20px}
.nx67-category-legend i{width:8px;height:8px;border-radius:50%}
.nx67-category-legend span{font-size:9.5px;color:#42556e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx67-category-legend strong{font-size:9.5px;color:#162d46;white-space:nowrap;text-align:right}
.nx67-category-legend small{color:#8795a6;font-size:8.5px;text-align:right}
.nx67-muted{font-size:10px;color:#8190a1}

/* corpo */
.nx67-finance-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;align-items:start}
.nx67-finance-layout>main,.nx67-finance-layout>aside{min-width:0}
.nx67-finance-layout>aside{display:grid;gap:12px;position:sticky;top:76px}
.nx69-ledger{background:#fff;border:1px solid #dfe7ea;border-radius:14px;padding:13px;box-shadow:0 4px 12px rgba(18,49,58,.025)}
.nx69-ledger-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:9px}
.nx69-ledger-head h2{font-size:19px;letter-spacing:-.03em;margin:0;color:#09182f}
.nx69-ledger-head h2 span{font-weight:700;color:#66778d}
.nx69-ledger-head p{font-size:10px;color:#79879a;margin:3px 0 0}


.nx67-finance-tools{display:grid;grid-template-columns:auto minmax(220px,1fr) 148px 140px;gap:8px;align-items:center;margin-bottom:6px}
.nx67-layout-toggle{height:38px;border:1px solid #dbe5e8;border-radius:10px;background:#fff;padding:3px;display:flex;gap:2px}
.nx67-layout-toggle button{height:30px;border:0;background:transparent;border-radius:7px;padding:0 10px;color:#68788c;font-size:9.5px;font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer}
.nx67-layout-toggle button.active{background:#078c83;color:#fff}
.nx67-layout-toggle .icon{width:14px;height:14px}
.nx67-finance-search{height:38px;background:#fff;border:1px solid #dbe5e8;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#32506b}
.nx67-finance-search .icon{width:16px;height:16px;flex:none}
.nx67-finance-search input{border:0;outline:0;width:100%;background:transparent;color:#172c45;font-size:10px}
.nx67-finance-search input::placeholder{color:#8b99ab}
.nx67-finance-month,.nx67-finance-filter{height:38px;background:#fff;border:1px solid #dbe5e8;border-radius:10px;color:#2c435c;font-size:9.5px;padding:0 9px;outline:0}
.nx69-sort-note{display:flex;justify-content:flex-end;margin:0 2px 7px;min-height:12px}
.nx69-sort-note>span{font-size:8.5px;color:#7f8d9e;font-weight:700}

/* cards opcionais */
.nx67-finance-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.nx67-finance-entry{min-height:150px;border:1px solid #dde6e8;border-radius:13px;background:#fff;padding:12px;display:flex;flex-direction:column}
.nx67-finance-entry-head{display:grid;grid-template-columns:48px minmax(0,1fr) 22px;gap:9px;align-items:center}
.nx67-finance-logo{width:48px;height:48px;border-radius:11px;background:#f7f9f9;border:1px solid #edf1f2;display:grid;place-items:center;overflow:hidden}
.nx67-finance-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
.nx67-finance-logo-fallback{color:#078c83}.nx67-finance-logo-fallback .icon{width:24px;height:24px}
.nx67-finance-entry-copy{min-width:0}.nx67-finance-entry-copy h4{font-size:11px;line-height:1.15;color:#0a1b32;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx67-finance-entry-copy p{font-size:8.5px;color:#8290a2;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx67-more{width:22px;height:28px;border:0;background:transparent;color:#24445f;padding:2px;display:grid;place-items:center;cursor:pointer}.nx67-more .icon{width:16px;height:16px}
.nx67-finance-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 8px;padding-top:8px;border-top:1px solid #edf1f2}
.nx67-finance-dates>span{display:grid;grid-template-columns:14px 1fr;gap:2px 5px;align-items:center;min-width:0;color:#617188}
.nx67-finance-dates .icon{width:12px;height:12px;grid-row:1/3}.nx67-finance-dates b{font-size:9px;color:#43546a;white-space:nowrap}.nx67-finance-dates small{font-size:7.7px;color:#93a0ae}
.nx67-finance-entry-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.nx67-finance-entry-foot>strong{font-size:17px;letter-spacing:-.025em;color:#12273f}
.nx67-finance-entry.status-paid .nx67-finance-entry-foot>strong{color:#0a9668}.nx67-finance-entry.status-pending .nx67-finance-entry-foot>strong{color:#c98b07}.nx67-finance-entry.status-late .nx67-finance-entry-foot>strong{color:#de3f50}.nx67-finance-entry.status-draft .nx67-finance-entry-foot>strong{color:#12273f}

.status-pill.pending{background:#fff3d7;color:#c88b08}.status-pill.draft{background:#eef2f4;color:#5e6f83}.status-pill.late{background:#ffe8eb;color:#db4050}.status-pill.paid{background:#e3f7ed;color:#0a9366}

/* lista completa */
.nx67-finance-list{background:#fff;border:1px solid #e0e7e9;border-radius:11px;overflow:hidden;margin:0}
.nx67-finance-list-head,.nx67-finance-list-row{display:grid;grid-template-columns:minmax(195px,1.55fr) 104px 104px minmax(110px,.75fr) 92px 96px 24px;gap:8px;align-items:center;padding:0 11px}
.nx67-finance-list-head{height:31px;background:#f4f8f7;color:#748397;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.nx67-finance-list-row{min-height:48px;border-top:1px solid #edf1f2;font-size:9.5px;color:#4f6075}
.nx69-list-supplier{display:flex;align-items:center;gap:8px;min-width:0}
.nx69-list-logo{width:31px;height:31px;border-radius:8px;background:#f5f8f8;border:1px solid #ebf0f1;display:grid;place-items:center;overflow:hidden;color:#078c83;flex:none}
.nx69-list-logo img{width:100%;height:100%;object-fit:contain;padding:2px}.nx69-list-logo .icon{width:17px;height:17px}
.nx69-list-supplier>span:last-child{min-width:0}.nx69-list-supplier strong{display:block;color:#12273f;font-size:9.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx69-list-supplier small{display:block;margin-top:2px;color:#98a3b0;font-size:7.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx67-finance-list-row>strong{text-align:right;font-size:10.5px;color:#132841;white-space:nowrap}
.nx67-finance-list-row.status-paid>strong{color:#0a9668}.nx67-finance-list-row.status-pending>strong{color:#c98b07}.nx67-finance-list-row.status-late>strong{color:#de3f50}
.nx69-category-chip{font-style:normal;display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;border-radius:999px;background:#e8f7f3;color:#087e74;font-size:8px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* lateral */
.nx67-review-badge{min-width:27px;height:22px;border-radius:999px;padding:0 8px;background:#ffeaed;color:#dc4150;font-size:9px;font-weight:800;display:grid;place-items:center}
.nx67-review-list,.nx67-upcoming-list{display:grid}.nx67-review-list>div,.nx67-upcoming-list>div{display:grid;grid-template-columns:33px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:47px;border-top:1px solid #edf1f2}.nx67-review-list>div:first-child,.nx67-upcoming-list>div:first-child{border-top:0}.nx67-review-list>div>span:first-child,.nx67-upcoming-icon{width:31px;height:31px;border-radius:9px;background:#e9f7f4;color:#078c83;display:grid;place-items:center}.nx67-review-list .icon,.nx67-upcoming-icon .icon{width:15px;height:15px}.nx67-review-list strong,.nx67-upcoming-list strong{display:block;color:#173049;font-size:9.5px}.nx67-review-list small,.nx67-upcoming-list small{display:block;color:#8a97a7;font-size:8px;margin-top:2px}.nx67-review-list b,.nx67-upcoming-list b{font-size:9.5px;color:#173049;white-space:nowrap}
.nx67-review-empty{text-align:center;padding:15px 9px 13px;color:#7f8d9f}.nx67-review-empty>span{width:42px;height:42px;border-radius:13px;background:#e9f7f4;color:#078c83;display:grid;place-items:center;margin:0 auto 8px}.nx67-review-empty .icon{width:20px;height:20px}.nx67-review-empty strong{display:block;color:#274058;font-size:10.5px}.nx67-review-empty p{font-size:8.5px;line-height:1.45;margin:5px auto 0;max-width:280px}
.nx67-connect-bank{width:100%;height:36px;border:1px solid #b8ddd7;border-radius:10px;background:#eefaf7;color:#087d74;font-size:9.5px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:7px}.nx67-connect-bank .icon{width:15px;height:15px}
.nx67-finance-side-empty{padding:18px 6px;text-align:center;color:#8290a2;font-size:9px!important;display:block!important}
.nx67-finance-empty{min-height:190px;border:1px dashed #d6e3e5;border-radius:12px;background:#fbfdfd;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8391a2}.nx67-finance-empty .icon{width:28px;height:28px;color:#0a8d82;margin-bottom:7px}.nx67-finance-empty strong{font-size:11px;color:#294158}.nx67-finance-empty span{font-size:9px;margin-top:3px}

@media(max-width:1320px){
  .nx67-finance{max-width:none}
  .nx69-finance-top{grid-template-columns:minmax(440px,.9fr) minmax(480px,1.1fr)}
  .nx67-finance-layout{grid-template-columns:minmax(0,1fr) 300px}
  .nx67-finance-tools{grid-template-columns:auto minmax(170px,1fr) 135px 125px}
  .nx67-finance-list-head,.nx67-finance-list-row{grid-template-columns:minmax(180px,1.4fr) 94px 94px minmax(100px,.7fr) 86px 88px 22px}
  .nx67-finance-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1080px){
  .nx69-finance-top{grid-template-columns:1fr}
  .nx69-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .nx67-finance-kpi{grid-template-columns:38px minmax(0,1fr);min-height:98px;padding:12px;gap:8px}.nx67-finance-kpi-icon{width:38px;height:38px}.nx67-finance-kpi strong{font-size:20px}.nx67-finance-kpi small{font-size:10px}.nx67-finance-kpi>div>span{font-size:8.5px}
  .nx67-finance-layout{grid-template-columns:1fr}.nx67-finance-layout>aside{position:static;grid-template-columns:1fr 1fr}
  .nx69-category-top{min-height:0}.nx67-finance-category-body{grid-template-columns:170px 1fr}.nx67-donut{width:150px;height:150px}
}
@media(max-width:760px){
  .nx67-finance-head{align-items:flex-start}.nx67-finance-head h1{font-size:31px}.nx67-finance-head p{font-size:10px}.nx67-finance-head .secondary-btn{display:none}
  .nx69-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.nx67-finance-kpi{min-height:94px}.nx67-finance-kpi strong{font-size:18px}
  .nx67-finance-category-body{grid-template-columns:1fr}.nx67-category-legend{grid-template-columns:1fr}.nx67-donut{width:142px;height:142px}
  
  .nx67-finance-tools{grid-template-columns:1fr 1fr}.nx67-layout-toggle{grid-column:1/2}.nx67-finance-search{grid-column:1/-1;grid-row:2}.nx67-finance-month{grid-column:1}.nx67-finance-filter{grid-column:2}
  .nx67-finance-entry-grid{grid-template-columns:1fr}.nx67-finance-layout>aside{grid-template-columns:1fr}
  .nx67-finance-list{overflow:auto}.nx67-finance-list-head,.nx67-finance-list-row{min-width:820px}
}


/* === NEXO v70 · Finanças: logos, classificação e leitura limpa === */
.nx67-finance-logo img,.nx69-list-logo img,.register-logo{object-fit:cover!important;padding:0!important;background:transparent!important}
.nx67-finance-logo,.nx69-list-logo,.register-logo{overflow:hidden}
.nx70-category-select{width:100%;max-width:190px;height:30px;border:1px solid #dce6e7;border-radius:8px;background:#f7fbfa;color:#17384a;font-size:10px;font-weight:700;padding:0 25px 0 9px;outline:none;cursor:pointer}
.nx70-category-select:focus{border-color:#78c8bd;box-shadow:0 0 0 2px rgba(11,159,140,.1)}
.nx67-category-legend .nx70-category-legend-row{width:100%;display:grid;grid-template-columns:8px minmax(0,1fr) auto 42px;gap:8px;align-items:center;border:0;background:transparent;padding:5px 3px;border-radius:7px;text-align:left;color:inherit;cursor:pointer}
.nx67-category-legend .nx70-category-legend-row:hover{background:#f3f9f8}
.nx67-category-legend .nx70-category-legend-row i{width:8px;height:8px;border-radius:50%}
.nx67-category-legend .nx70-category-legend-row span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx70-review-empty{min-height:132px;display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:18px 20px!important}
.nx70-review-empty>span{width:38px;height:38px;border-radius:12px;background:#eaf8f5;color:#0b8e82;display:grid;place-items:center;margin-bottom:8px}
.nx70-review-empty>span .icon{width:20px;height:20px}
.nx70-review-empty strong{font-size:12px;color:#15364a}
.nx70-review-empty p{max-width:250px;margin:5px auto 0;font-size:9px;line-height:1.4;color:#74849a}
@media(max-width:1366px){.nx70-category-select{max-width:145px;font-size:9px}.nx67-category-legend .nx70-category-legend-row{grid-template-columns:7px minmax(0,1fr) auto 36px;gap:5px}}

/* v71 — Finanças: períodos flexíveis, categorias por item e detalhes do pedido */

.nx71-period-controls{display:flex;align-items:center;gap:7px;min-width:0}
.nx71-period-controls .nx71-period-select{min-width:132px}
.nx71-period-controls .nx67-finance-month{min-width:138px}
.nx71-finance-date{height:38px;min-width:126px;background:#fff;border:1px solid #dbe5e8;border-radius:10px;color:#2c435c;font-size:9.5px;padding:0 9px;outline:0}

.nx71-finance-list .nx67-finance-list-head,.nx71-finance-list .nx67-finance-list-row{grid-template-columns:minmax(240px,1.7fr) 112px 112px 110px 104px 28px}
.nx71-finance-list .nx67-finance-list-row{cursor:pointer;transition:background .14s ease,border-color .14s ease}
.nx71-finance-list .nx67-finance-list-row:hover{background:#f8fcfb}
.nx71-finance-list .nx69-list-supplier small{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx67-finance-entry[data-finance-order-open]{cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.nx67-finance-entry[data-finance-order-open]:hover{transform:translateY(-1px);border-color:#c9ddda;box-shadow:0 8px 18px rgba(14,63,66,.06)}
.nx67-finance-entry [data-finance-order-menu],.nx71-finance-list [data-finance-order-menu]{position:relative;z-index:2}

.nx71-upcoming-card{border-color:#eedfaf;background:linear-gradient(180deg,#fffdf7 0,#fff 32%);overflow:hidden}
.nx71-upcoming-alert{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;background:#fff7dd;border:1px solid #f3df9c;border-radius:11px;padding:10px 11px;margin-bottom:12px}
.nx71-upcoming-alert>span{width:42px;height:42px;border-radius:11px;background:#ffeab0;color:#b97900;display:grid;place-items:center}
.nx71-upcoming-alert .icon{width:21px;height:21px}.nx71-upcoming-alert small{display:block;font-size:8.5px;font-weight:800;color:#9d7219;text-transform:uppercase;letter-spacing:.04em}.nx71-upcoming-alert strong{display:block;font-size:20px;line-height:1.05;color:#b56f00;margin-top:2px}.nx71-upcoming-alert p{margin:3px 0 0;font-size:8.8px;color:#7d6844}
.nx71-upcoming-list>div{position:relative;border-radius:9px;padding:7px 5px}
.nx71-upcoming-list>div.urgent{background:#fff3f3}
.nx71-upcoming-list>div.urgent .nx67-upcoming-icon{background:#ffe6e8;color:#d73b4c}
.nx71-upcoming-list>div.urgent small,.nx71-upcoming-list>div.urgent b{color:#c83747}

.nx71-modal-backdrop{position:fixed;inset:0;background:rgba(3,18,30,.38);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:10000}
.nx71-order-modal{width:min(820px,96vw);max-height:min(780px,92vh);overflow:auto;background:#fff;border:1px solid #dce6e7;border-radius:22px;box-shadow:0 30px 90px rgba(7,30,43,.24);padding:20px}
.nx71-order-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #e8eeee}
.nx71-order-title{display:flex;align-items:center;gap:12px;min-width:0}.nx71-order-title>span:last-child{min-width:0}.nx71-order-title small{font-size:9px;color:#79889a;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.nx71-order-title h2{margin:3px 0 5px;font-size:25px;line-height:1.05;color:#0a1a31;letter-spacing:-.035em}.nx71-order-title p{margin:0;color:#768698;font-size:10px;display:flex;align-items:center;gap:8px}.nx71-order-logo{width:58px;height:58px;border-radius:14px;background:#f4f8f7;border:1px solid #e1e9e9;display:grid;place-items:center;overflow:hidden;flex:none;color:#0a8f83}.nx71-order-logo img{width:100%;height:100%;object-fit:cover}.nx71-order-logo .icon{width:27px;height:27px}
.nx71-modal-close{width:38px;height:38px;border-radius:11px;border:1px solid #dce5e6;background:#fff;color:#607083;font-size:24px;line-height:1;cursor:pointer}.nx71-modal-close:hover{background:#f4f8f7}
.nx71-order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.nx71-order-summary>div{border:1px solid #e2e9ea;border-radius:12px;background:#f9fbfb;padding:11px 12px}.nx71-order-summary small{display:block;font-size:8.5px;color:#8190a2;margin-bottom:4px}.nx71-order-summary strong{font-size:14px;color:#10263e}
.nx71-order-section{margin-top:14px}.nx71-order-section h3{margin:0 0 8px;font-size:13px;color:#13283f}.nx71-order-section h3 span{color:#8493a5;font-weight:600}
.nx71-order-items{border:1px solid #e3eaeb;border-radius:12px;overflow:hidden}.nx71-order-items>div{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px;gap:10px;align-items:center;padding:9px 11px;border-top:1px solid #eef2f2}.nx71-order-items>div:first-child{border-top:0}.nx71-order-items strong{display:block;font-size:10px;color:#173148}.nx71-order-items small{display:block;margin-top:2px;font-size:8.5px;color:#7f8ea0}.nx71-order-items>div>span:nth-child(2){font-size:9.5px;color:#566a7e}.nx71-order-items>div>b{text-align:right;font-size:10.5px;color:#112b43}
.nx71-order-categories{display:flex;flex-wrap:wrap;gap:7px}.nx71-order-categories span{display:inline-flex;align-items:center;gap:8px;border:1px solid #dfe9e8;border-radius:999px;background:#f4faf9;padding:6px 9px;font-size:9px;color:#496173}.nx71-order-categories b{color:#087f75}
.nx71-order-installments{display:grid;gap:6px}.nx71-order-installments>span{display:grid;grid-template-columns:35px 1fr 110px 70px;gap:8px;align-items:center;border:1px solid #e4eaeb;border-radius:9px;padding:7px 9px;font-size:9px;color:#607186}.nx71-order-installments strong{color:#173047;text-align:right}.nx71-order-installments em{font-style:normal;text-align:right;color:#0a9468;font-weight:800}.nx71-order-meta{border-top:1px solid #e7eeee;padding-top:12px}.nx71-order-meta p{margin:5px 0;font-size:9.5px;color:#64778b}.nx71-order-empty{margin:0;border:1px dashed #dce5e6;border-radius:10px;padding:16px;text-align:center;font-size:9px;color:#8492a1}

.nx71-more-menu{position:fixed;z-index:10020;width:190px;background:#fff;border:1px solid #dce5e6;border-radius:12px;box-shadow:0 16px 38px rgba(11,35,49,.18);padding:6px}
.nx71-more-menu button{width:100%;height:35px;border:0;background:transparent;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 10px;color:#31465c;font-size:10px;font-weight:750;text-align:left;cursor:pointer}.nx71-more-menu button:hover{background:#f2f8f7}.nx71-more-menu .icon{width:15px;height:15px;color:#0b8f84}.nx71-more-menu>span{display:block;height:1px;background:#edf1f2;margin:5px 2px}.nx71-more-menu button.danger{color:#d33c4b}.nx71-more-menu button.danger .icon{color:#d33c4b}

@media(max-width:1366px){

  .nx71-period-controls{gap:5px}.nx71-period-controls .nx71-period-select{min-width:118px}.nx71-period-controls .nx67-finance-month{min-width:125px}
  .nx71-finance-list .nx67-finance-list-head,.nx71-finance-list .nx67-finance-list-row{grid-template-columns:minmax(210px,1.55fr) 96px 96px 92px 92px 24px}
}
@media(max-width:980px){

  .nx71-order-summary{grid-template-columns:1fr}.nx71-order-items>div{grid-template-columns:minmax(0,1fr) 80px 90px}
}


/* === NEXO v72 · Finanças: fotos, picker de mês e lançamentos manuais === */

.nx72-new-expense{height:40px;padding:0 15px;border:0;border-radius:10px;display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:800;white-space:nowrap}
.nx72-new-expense .icon{width:16px;height:16px}

.nx72-month-control{position:relative;height:38px;min-width:150px;background:#fff;border:1px solid #dbe5e8;border-radius:10px;color:#2c435c;display:flex;align-items:center;gap:8px;padding:0 10px;cursor:pointer;outline:none;overflow:hidden}
.nx72-month-control:hover,.nx72-month-control:focus-within,.nx72-month-control:focus{border-color:#8fcfc8;box-shadow:0 0 0 3px rgba(7,140,131,.08)}
.nx72-month-control>.icon{width:15px;height:15px;color:#0b6370;flex:none}
.nx72-month-control>span{font-size:9.5px;font-weight:700;white-space:nowrap;text-transform:none;flex:1}
.nx72-month-control>b{font-size:12px;color:#6e7c8e;font-weight:700}
.nx72-month-control>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}

.nx72-upcoming-logo{overflow:hidden;padding:0!important;background:#eef9f7!important;border:1px solid #dcebe8}
.nx72-upcoming-logo img{width:100%;height:100%;object-fit:cover;display:block}
.nx71-upcoming-list>div.urgent .nx72-upcoming-logo{background:#fff!important}

.nx72-order-modal{padding:0!important;overflow:hidden!important}
.nx72-order-scroll{max-height:min(780px,92vh);overflow-y:auto;padding:20px;scrollbar-gutter:stable}
.nx72-order-scroll::-webkit-scrollbar{width:8px}
.nx72-order-scroll::-webkit-scrollbar-track{background:transparent;margin:14px 0}
.nx72-order-scroll::-webkit-scrollbar-thumb{background:#c9d4d6;border-radius:999px;border:2px solid #fff}
.nx72-order-scroll{scrollbar-width:thin;scrollbar-color:#c9d4d6 transparent}
.nx72-order-scroll>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #e8eeee}
.nx72-modal-actions{display:flex;align-items:center;gap:8px}
.nx72-modal-edit{height:34px;border:1px solid #d8e5e6;background:#fff;color:#0a776f;border-radius:9px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;font-size:9.5px;font-weight:800;cursor:pointer}
.nx72-modal-edit:hover{background:#f1fbf9}
.nx72-modal-edit .icon{width:14px;height:14px}

.nx72-order-items>div{grid-template-columns:minmax(0,1fr) 110px 110px}
.nx72-order-item-main{display:grid!important;grid-template-columns:42px minmax(0,1fr);gap:9px;align-items:center;min-width:0}
.nx72-order-item-photo{width:42px;height:42px;border-radius:9px;background:#f5f8f8;border:1px solid #e4ebec;display:grid;place-items:center;overflow:hidden;flex:none}
.nx72-order-item-photo img{width:100%;height:100%;object-fit:contain;display:block;padding:2px}
.nx72-order-item-photo .icon{width:19px;height:19px;color:#829295}
.nx72-order-item-main>span:last-child{min-width:0}
.nx72-order-item-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.nx72-expense-modal{width:min(720px,95vw);max-height:min(780px,92vh);overflow:auto;background:#fff;border:1px solid #dce6e7;border-radius:20px;box-shadow:0 30px 90px rgba(7,30,43,.24);padding:20px}
.nx72-expense-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #e8eeee}
.nx72-expense-modal>header small{display:block;font-size:8px;font-weight:900;color:#0b8b82;letter-spacing:.08em}
.nx72-expense-modal>header h2{margin:4px 0 3px;font-size:25px;line-height:1;color:#0b1b33;letter-spacing:-.04em}
.nx72-expense-modal>header p{margin:0;color:#78889a;font-size:9.5px;line-height:1.4}
.nx72-expense-modal form{padding-top:15px}
.nx72-expense-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.nx72-expense-grid label{display:flex;flex-direction:column;gap:5px;min-width:0}
.nx72-expense-grid label.wide{grid-column:1/-1}
.nx72-expense-grid label>span{font-size:9px;font-weight:800;color:#365065}
.nx72-expense-grid input,.nx72-expense-grid select,.nx72-expense-grid textarea{width:100%;border:1px solid #d7e2e4;border-radius:10px;background:#fff;color:#173148;font:inherit;font-size:10px;outline:none}
.nx72-expense-grid input,.nx72-expense-grid select{height:42px;padding:0 11px}
.nx72-expense-grid textarea{padding:10px 11px;resize:vertical;min-height:72px}
.nx72-expense-grid input:focus,.nx72-expense-grid select:focus,.nx72-expense-grid textarea:focus{border-color:#75c7bd;box-shadow:0 0 0 3px rgba(7,140,131,.08)}
.nx72-auto-category>div{height:42px;border-radius:10px;background:#eefaf8;color:#126f68;display:flex;align-items:center;gap:8px;padding:0 11px;font-size:9.5px;font-weight:700}
.nx72-auto-category .icon{width:15px;height:15px}
.nx72-expense-hint{margin:12px 0 0;padding:9px 11px;background:#f7fafb;border-radius:9px;color:#6b7d8e;font-size:9px;display:flex;align-items:center;gap:7px}
.nx72-expense-hint .icon{width:14px;height:14px}
.nx72-expense-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #e8eeee}
.nx72-expense-modal footer button{height:40px;min-width:120px}
.nx72-expense-modal footer .nx42-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.nx72-expense-modal footer .nx42-primary .icon{width:15px;height:15px}

@media(max-width:920px){

  .nx72-expense-grid{grid-template-columns:1fr}
  .nx72-expense-grid label.wide{grid-column:auto}
  .nx72-order-item-main{grid-template-columns:36px minmax(0,1fr)}
  .nx72-order-item-photo{width:36px;height:36px}
}
@media(max-width:620px){


  .nx72-expense-modal{width:100%;max-height:92vh;border-radius:20px 20px 0 0;margin-top:auto;padding:16px}
  .nx71-modal-backdrop:has(.nx72-expense-modal){align-items:flex-end;padding:0}
  .nx72-order-scroll{padding:15px}
  .nx72-modal-edit{font-size:0;width:34px;padding:0;justify-content:center}
  .nx72-modal-edit .icon{width:16px;height:16px}
  .nx72-order-items>div{grid-template-columns:minmax(0,1fr) 70px 80px}
  .nx72-month-control{min-width:140px}
}

/* =========================================================
   NEXO Web v74 — Finanças: barra compacta e filtros unificados
   ========================================================= */
.nx74-finance-tools{display:grid;grid-template-columns:auto minmax(240px,1fr) auto auto auto;align-items:center;gap:8px;margin-bottom:10px;position:relative}
.nx74-finance-tools .nx67-layout-toggle{margin:0}
.nx74-finance-tools .nx67-finance-search{min-width:0}
.nx74-tool-icon{width:38px;height:38px;border:1px solid #dbe5e8;border-radius:10px;background:#fff;color:#0b8178;display:grid;place-items:center;cursor:pointer;transition:.16s ease;box-shadow:0 1px 2px rgba(13,36,47,.02)}
.nx74-tool-icon:hover{border-color:#8bcfc7;background:#f2fbf9;box-shadow:0 0 0 3px rgba(8,143,132,.06)}
.nx74-tool-icon .icon{width:16px;height:16px}
.nx74-filter-wrap{position:relative;z-index:35}
.nx74-filter-trigger{height:38px;border:1px solid #dbe5e8;border-radius:10px;background:#fff;color:#31485f;padding:0 11px;display:flex;align-items:center;gap:7px;font-size:9.5px;font-weight:800;cursor:pointer;transition:.16s ease;white-space:nowrap}
.nx74-filter-trigger>.icon{width:15px;height:15px;color:#0a8f85}
.nx74-filter-trigger b{min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#0a9187;color:#fff;display:grid;place-items:center;font-size:8px}
.nx74-filter-trigger:hover,.nx74-filter-trigger.open,.nx74-filter-trigger.active{border-color:#91d2cb;background:#f2fbfa;color:#087d75}
.nx74-filter-popover{position:absolute;right:0;top:45px;width:370px;background:#fff;border:1px solid #dce7e8;border-radius:16px;box-shadow:0 20px 55px rgba(13,34,49,.18);padding:14px;z-index:150}
.nx74-filter-popover[hidden]{display:none!important}
.nx74-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.nx74-filter-head>div{display:grid;gap:2px}.nx74-filter-head strong{font-size:14px;color:#0d2238}.nx74-filter-head small{font-size:9px;color:#7e8c9b}
.nx74-filter-head>button{border:0;background:transparent;color:#087f77;font-size:9.5px;font-weight:800;cursor:pointer;padding:5px 0}
.nx74-filter-section{display:grid;gap:9px}.nx74-filter-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.nx74-filter-section-title strong{font-size:10px;color:#31495f}.nx74-filter-section-title span{font-size:9px;color:#718193;text-transform:capitalize}
.nx74-period-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.nx74-filter-chip{min-height:32px;border:1px solid #e0e8e9;border-radius:8px;background:#f9fbfb;color:#455a70;font-size:9px;font-weight:750;cursor:pointer;padding:4px 6px}
.nx74-filter-chip:hover{border-color:#9fd5cf;color:#087e76;background:#f3fbfa}.nx74-filter-chip.active{background:#0a958a;border-color:#0a958a;color:#fff}
.nx74-month-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:1px}.nx74-month-head strong{font-size:9.5px;color:#31495f}.nx74-month-head select{height:29px;border:1px solid #dce6e7;border-radius:8px;background:#f8fbfb;color:#243c55;font-size:9.5px;font-weight:700;padding:0 25px 0 8px;outline:none}
.nx74-month-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.nx74-month-grid button{height:28px;border:0;border-radius:7px;background:transparent;color:#354a60;font-size:9px;font-weight:700;cursor:pointer}.nx74-month-grid button:hover{background:#eaf8f6;color:#087f77}.nx74-month-grid button.active{background:#0a958a;color:#fff}
.nx74-custom-toggle{width:100%;height:32px;border:1px solid #e0e8e9;border-radius:8px;background:#fbfcfc;color:#3e5368;display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;font-weight:750;cursor:pointer}.nx74-custom-toggle .icon{width:13px;height:13px}.nx74-custom-toggle .icon:last-child{transition:transform .18s ease}.nx74-custom-toggle.open .icon:last-child{transform:rotate(180deg)}
.nx74-custom-range{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:2px}.nx74-custom-range[hidden]{display:none!important}.nx74-custom-range label span{display:block;font-size:8px;font-weight:800;color:#748496;margin-bottom:4px}.nx74-custom-range input{width:100%;height:33px;border:1px solid #dce6e7;border-radius:8px;padding:0 8px;font-size:9px;color:#243c55;outline:none}.nx74-custom-range button{grid-column:1/-1;height:32px;border:0;border-radius:8px;background:#0a958a;color:#fff;font-size:9px;font-weight:800;cursor:pointer}
.nx74-filter-divider{height:1px;background:#edf1f2;margin:12px 0}
.nx74-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nx74-filter-grid label{display:grid;gap:4px}.nx74-filter-grid label.wide{grid-column:1/-1}.nx74-filter-grid label>span{font-size:8.5px;font-weight:800;color:#607184}.nx74-filter-grid select{width:100%;height:34px;border:1px solid #dce6e7;border-radius:8px;background:#fff;color:#243c55;padding:0 8px;font-size:9.5px;outline:none}
.nx74-search-hidden{display:none!important}.nx74-search-empty[hidden]{display:none!important}

@media(max-width:1180px){.nx74-finance-tools{grid-template-columns:auto minmax(180px,1fr) auto auto auto}.nx74-filter-popover{right:0;width:350px}}
@media(max-width:760px){.nx74-finance-tools{grid-template-columns:auto 1fr auto auto;gap:6px}.nx74-finance-tools .nx67-layout-toggle{grid-column:1}.nx74-finance-tools .nx67-finance-search{grid-column:1/-1;grid-row:2}.nx74-filter-wrap{grid-column:2}.nx74-filter-trigger{width:100%;justify-content:center}.nx74-filter-popover{position:fixed;left:12px;right:12px;top:auto;bottom:76px;width:auto;max-height:76vh;overflow:auto}.nx74-period-presets{grid-template-columns:repeat(3,1fr)}.nx74-month-grid{grid-template-columns:repeat(4,1fr)}}

.nx73-upcoming-row{width:100%;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;border:0!important;border-radius:9px;padding:7px 5px!important;background:transparent;text-align:left;color:inherit;cursor:pointer;font:inherit}
.nx73-upcoming-row:hover{background:#f0f9f8}.nx73-upcoming-row.urgent{background:#fff3f3!important}.nx73-upcoming-row.urgent .nx67-upcoming-icon{background:#fff!important}.nx73-upcoming-row>.icon:last-child{width:13px;height:13px;color:#76889a}

.nx72-order-modal{overflow:hidden}
.nx72-order-scroll{border-radius:20px;scrollbar-gutter:auto;padding-right:14px}
.nx72-order-scroll::-webkit-scrollbar{width:7px}
.nx72-order-scroll::-webkit-scrollbar-track{background:transparent;margin:18px 0}
.nx72-order-scroll::-webkit-scrollbar-thumb{background:#bac7c9;border-radius:999px;border:2px solid transparent;background-clip:padding-box}
.nx73-order-total strong{color:#079b79!important;font-size:18px!important}
.nx73-order-categories-top{margin-top:14px;margin-bottom:4px;padding:12px 0!important;border-top:1px solid #e8eeee;border-bottom:1px solid #e8eeee}

.nx73-expense-modal.full-order{width:min(1040px,96vw);max-height:92vh}
.nx73-order-editor-items{margin-top:16px;border:1px solid #dce7e8;border-radius:16px;background:#fbfdfd;padding:13px}
.nx73-order-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.nx73-order-editor-head h3{margin:0;color:#0c2036;font-size:14px}.nx73-order-editor-head p{margin:2px 0 0;color:#7a8998;font-size:9px}.nx73-order-editor-head button{height:34px;border:1px solid #b9dfdb;border-radius:9px;background:#eaf8f6;color:#087f77;font-size:9.5px;font-weight:800;display:flex;align-items:center;gap:6px;padding:0 10px;cursor:pointer}.nx73-order-editor-head button .icon{width:14px;height:14px}
#finance-edit-items{display:grid;gap:7px}
.nx73-edit-item{display:grid;grid-template-columns:42px minmax(190px,1.5fr) 84px 76px 108px 105px 34px;gap:7px;align-items:end;background:#fff;border:1px solid #e3ebec;border-radius:11px;padding:8px}
.nx73-edit-item-photo{width:42px;height:42px;border-radius:9px;background:#f4f8f7;overflow:hidden;display:grid;place-items:center;align-self:center}.nx73-edit-item-photo img{width:100%;height:100%;object-fit:contain}.nx73-edit-item-photo .icon{width:18px;height:18px;color:#819193}
.nx73-edit-item label>span,.nx73-edit-item-total>span{display:block;font-size:7.8px;font-weight:800;color:#728294;margin:0 0 4px}.nx73-edit-item input,.nx73-edit-item select{width:100%;height:34px;border:1px solid #dce6e7;border-radius:8px;background:#fff;color:#183249;font-size:9.5px;padding:0 8px;outline:none}.nx73-edit-item input:focus,.nx73-edit-item select:focus{border-color:#79c8bf;box-shadow:0 0 0 2px rgba(7,140,131,.08)}
.nx73-edit-item-total{align-self:center;padding-top:12px}.nx73-edit-item-total strong{font-size:10px;color:#0b846f;white-space:nowrap}.nx73-edit-item-remove{width:32px;height:34px;border:0;border-radius:8px;background:#fff0f1;color:#d34252;display:grid;place-items:center;cursor:pointer}.nx73-edit-item-remove .icon{width:15px;height:15px}
.nx73-order-adjustments{display:grid;grid-template-columns:minmax(250px,1fr) auto;gap:12px;align-items:end;margin-top:10px;padding:10px;border-radius:11px;background:#eef8f7}
.nx73-order-adjustments label span{display:block;font-size:9px;font-weight:800;color:#28475b}.nx73-order-adjustments label small{display:block;font-size:8px;color:#7b8c98;margin:2px 0 5px}.nx73-order-adjustments input{height:34px;border:1px solid #cfe3e1;border-radius:8px;padding:0 9px;background:#fff;outline:none}.nx73-order-adjustments>div{text-align:right}.nx73-order-adjustments>div span{display:block;font-size:8px;color:#6d7f8d}.nx73-order-adjustments>div strong{display:block;font-size:20px;color:#079b79;white-space:nowrap;margin-top:2px}
.nx73-permission-modal{width:min(520px,94vw)!important}.nx73-permission-body{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;color:#42586c}.nx73-permission-body>.icon{width:34px;height:34px;color:#0a9489}.nx73-permission-body strong{color:#10283d;font-size:13px}.nx73-permission-body span{max-width:360px;font-size:9.5px;line-height:1.45;color:#748596}

@media(max-width:1180px){.nx73-edit-item{grid-template-columns:40px minmax(170px,1fr) 74px 70px 96px 94px 32px}}
@media(max-width:760px){.nx73-expense-modal.full-order{width:100%;border-radius:20px 20px 0 0}.nx73-edit-item{grid-template-columns:42px 1fr 32px}.nx73-edit-item .product{grid-column:2}.nx73-edit-item label:not(.product),.nx73-edit-item-total{grid-column:1/-1}.nx73-edit-item-remove{grid-column:3;grid-row:1}.nx73-order-adjustments{grid-template-columns:1fr}}

/* ESTOQUE + RECEITAS — v75 */
.nx75-stock{max-width:1420px;margin:0 auto}
.nx75-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.nx75-page-head h1{margin:0;color:#081d34;font-size:34px;line-height:1;letter-spacing:-.045em}
.nx75-page-head p{margin:7px 0 0;color:#667c8d;font-size:12px;line-height:1.45}
.nx75-stock-switch{display:inline-flex;align-items:center;padding:4px;border:1px solid #d8e5e4;border-radius:13px;background:#fff;box-shadow:0 3px 10px rgba(17,54,60,.04)}
.nx75-stock-switch button{height:38px;border:0;border-radius:10px;background:transparent;color:#65798a;padding:0 15px;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;transition:.18s}
.nx75-stock-switch button .icon{width:15px;height:15px}.nx75-stock-switch button.active{background:#0b9489;color:#fff;box-shadow:0 5px 12px rgba(11,148,137,.18)}
.nx75-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.nx75-stat{min-height:86px;border:1px solid #dfe8e8;background:#fff;border-radius:14px;padding:13px 14px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 7px rgba(26,56,70,.025)}
.nx75-stat-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;flex:none}.nx75-stat-icon .icon{width:20px;height:20px}
.nx75-stat-icon.green{background:#e0f6f1;color:#098e81}.nx75-stat-icon.amber{background:#fff3d8;color:#c28613}.nx75-stat-icon.red{background:#fee9ed;color:#dc485d}.nx75-stat-icon.blue{background:#e6f3ff;color:#2388d7}.nx75-stat-icon.slate{background:#edf2f4;color:#435d6c}
.nx75-stat>div{min-width:0}.nx75-stat small{display:block;color:#52697a;font-size:9.5px;font-weight:800}.nx75-stat strong{display:block;margin-top:2px;color:#0a2035;font-size:19px;line-height:1.12;letter-spacing:-.025em}.nx75-stat em{display:block;margin-top:4px;color:#8796a2;font-size:8.5px;font-style:normal}
.nx75-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto 40px;gap:8px;align-items:center;margin-bottom:10px}
.nx75-search{height:42px;border:1px solid #d9e5e5;border-radius:11px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 13px;transition:.16s}.nx75-search:focus-within{border-color:#93d1ca;box-shadow:0 0 0 3px rgba(10,147,137,.06)}.nx75-search .icon{width:17px;height:17px;color:#537083}.nx75-search input{border:0;outline:0;width:100%;min-width:0;background:transparent;color:#173247;font-size:10.5px}.nx75-search input::placeholder{color:#8a9aa6}
.nx75-layout-toggle{height:42px;border:1px solid #d9e5e5;border-radius:11px;background:#fff;padding:3px;display:flex;align-items:center}.nx75-layout-toggle button{height:34px;border:0;border-radius:8px;background:transparent;color:#6d7f8d;display:flex;align-items:center;gap:6px;padding:0 12px;font-size:9.5px;font-weight:800}.nx75-layout-toggle button .icon{width:14px;height:14px}.nx75-layout-toggle button.active{background:#0b9489;color:#fff}
.nx75-filter-icon{width:40px;height:40px;border:1px solid #d9e5e5;border-radius:11px;background:#fff;color:#0b8d83;display:grid;place-items:center}.nx75-filter-icon .icon{width:16px;height:16px}
.nx75-category-strip{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin-bottom:13px;padding:1px}.nx75-category-strip::-webkit-scrollbar{display:none}.nx75-category-strip button{white-space:nowrap;height:31px;border:1px solid #dde7e7;border-radius:999px;background:#fff;color:#52697b;padding:0 12px;font-size:9px;font-weight:750}.nx75-category-strip button.active{background:#0b9489;border-color:#0b9489;color:#fff}
.nx75-product-grid,.nx75-recipe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nx75-product-card,.nx75-recipe-card{position:relative;border:1px solid #dfe8e8;background:#fff;border-radius:14px;overflow:hidden;text-align:left;padding:0;color:inherit;box-shadow:0 2px 7px rgba(23,52,65,.025);transition:.16s}.nx75-product-card:hover,.nx75-recipe-card:hover{transform:translateY(-1px);border-color:#afd9d4;box-shadow:0 7px 20px rgba(18,65,67,.07)}
.nx75-product-photo,.nx75-recipe-photo{width:100%;height:128px;display:block;object-fit:contain;background:linear-gradient(180deg,#fbfdfc,#f5f8f7);padding:10px}.nx75-product-photo.fallback,.nx75-recipe-photo.fallback{display:grid;place-items:center;color:#8ba09e}.nx75-product-photo.fallback .icon,.nx75-recipe-photo.fallback .icon{width:34px;height:34px}
.nx75-product-copy,.nx75-recipe-copy{display:block;padding:11px 12px 12px}.nx75-product-copy>b,.nx75-recipe-copy>b{display:block;color:#10273b;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx75-product-copy>small,.nx75-recipe-copy>small{display:block;color:#758897;font-size:8.6px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx75-product-copy>strong{display:block;color:#0d2639;font-size:15px;margin-top:8px;letter-spacing:-.01em}.nx75-product-copy>span{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.nx75-product-copy>span em{font-style:normal;color:#617686;font-size:8.5px;white-space:nowrap}
.nx75-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:8px;font-style:normal;font-weight:800}.nx75-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.nx75-status.ok{background:#e6f6ef;color:#16815f}.nx75-status.low{background:#fff0cc;color:#ba7906}.nx75-status.empty{background:#fee9ec;color:#dc4055}
.nx75-card-more{position:absolute;right:8px;top:8px;width:25px;height:25px;border-radius:8px;background:rgba(255,255,255,.9);display:grid;place-items:center;color:#26455a;font-weight:900;font-size:14px;line-height:1}
.nx75-recipe-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.nx75-recipe-values>span{display:grid;gap:2px}.nx75-recipe-values em{font-style:normal;color:#7d8e9b;font-size:8px}.nx75-recipe-values strong{font-size:13px;color:#0e283c}.nx75-recipe-values>span:last-child strong{color:#078672}.nx75-recipe-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid #eef2f2}.nx75-recipe-foot i{font-style:normal;color:#16805e;background:#e8f6ef;border-radius:999px;padding:4px 7px;font-size:7.8px;font-weight:800}.nx75-recipe-foot em{font-style:normal;color:#728493;font-size:8px}
.nx75-product-grid.is-list,.nx75-recipe-grid.is-list{grid-template-columns:1fr}.nx75-product-grid.is-list .nx75-product-card,.nx75-recipe-grid.is-list .nx75-recipe-card{min-height:74px;display:grid;grid-template-columns:82px 1fr;align-items:center}.nx75-product-grid.is-list .nx75-product-photo,.nx75-recipe-grid.is-list .nx75-recipe-photo{height:74px;padding:7px}.nx75-product-grid.is-list .nx75-product-copy,.nx75-recipe-grid.is-list .nx75-recipe-copy{padding:8px 13px}.nx75-recipe-grid.is-list .nx75-recipe-values{display:flex;gap:28px}.nx75-recipe-grid.is-list .nx75-recipe-foot{position:absolute;right:42px;bottom:11px;border:0;padding:0;margin:0;gap:12px}
.nx75-search-hidden{display:none!important}.nx75-empty{grid-column:1/-1;min-height:160px;border:1px dashed #cfdedd;border-radius:14px;background:#f9fbfb;display:grid;place-items:center;color:#7d8f9c;font-size:10px}
.nx75-modal{position:fixed;inset:0;background:rgba(14,35,43,.42);backdrop-filter:blur(5px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:22px}.nx75-modal-card{position:relative;width:min(900px,96vw);max-height:90vh;overflow:auto;scrollbar-gutter:stable;background:#fff;border:1px solid #dbe6e6;border-radius:22px;box-shadow:0 30px 90px rgba(7,38,45,.24);padding:18px}.nx75-modal-card::-webkit-scrollbar{width:7px}.nx75-modal-card::-webkit-scrollbar-track{background:transparent;margin:20px 0}.nx75-modal-card::-webkit-scrollbar-thumb{background:#bdcaca;border-radius:999px}.nx75-modal-close{position:absolute;right:14px;top:14px;width:33px;height:33px;border:1px solid #dbe5e5;border-radius:10px;background:#fff;color:#587180;font-size:20px;line-height:1;z-index:3}.nx75-detail-head{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:center;padding:2px 46px 14px 2px;border-bottom:1px solid #e9eeee}.nx75-detail-image{width:76px;height:76px;border-radius:14px;background:#f4f8f7;object-fit:contain;padding:5px}.nx75-detail-image.fallback{display:grid;place-items:center;color:#8ca09f}.nx75-detail-head small{display:block;color:#0b8e84;font-size:8px;font-weight:900;letter-spacing:.08em}.nx75-detail-head h2{margin:4px 0 2px;color:#0b2137;font-size:22px;letter-spacing:-.035em}.nx75-detail-head p{margin:0;color:#788a98;font-size:9.5px}.nx75-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:13px 0}.nx75-detail-summary>div{border:1px solid #e0e8e8;border-radius:11px;background:#fafcfc;padding:10px}.nx75-detail-summary small{display:block;color:#768997;font-size:8px}.nx75-detail-summary strong{display:block;color:#10283c;font-size:13px;margin-top:3px}.nx75-detail-summary strong.green{color:#078672}.nx75-detail-summary strong.red{color:#d94558}.nx75-detail-summary strong.amber{color:#bb7905}.nx75-detail-section{margin-top:14px}.nx75-detail-section h3{margin:0 0 8px;color:#142d40;font-size:12px}.nx75-detail-section>p{font-size:9.5px;line-height:1.55;color:#5f7484;margin:0}.nx75-cost-tags{display:flex;flex-wrap:wrap;gap:6px}.nx75-cost-tags span{display:inline-flex;gap:6px;border:1px solid #dce7e7;background:#f7faf9;border-radius:999px;padding:6px 9px;color:#627787;font-size:8px}.nx75-cost-tags b{color:#0a8277}.nx75-ingredient-table{border:1px solid #dfe8e8;border-radius:12px;overflow:hidden}.nx75-ingredient-table>div{display:grid;grid-template-columns:38px minmax(0,1fr) 100px 100px;align-items:center;gap:8px;padding:7px 9px;border-bottom:1px solid #edf1f1}.nx75-ingredient-table>div:last-child{border-bottom:0}.nx75-ingredient-thumb{width:34px;height:34px;border-radius:8px;object-fit:contain;background:#f4f8f7;padding:2px}.nx75-ingredient-thumb.fallback{display:grid;place-items:center}.nx75-ingredient-thumb.fallback .icon{width:16px;height:16px}.nx75-ingredient-table span strong{display:block;color:#173247;font-size:9.5px}.nx75-ingredient-table span small{display:block;color:#84949f;font-size:7.5px;margin-top:2px}.nx75-ingredient-table>b{text-align:right;color:#52697a;font-size:8.8px}.nx75-ingredient-table>em{text-align:right;color:#0e283c;font-size:9px;font-weight:800;font-style:normal}.nx75-detail-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.nx75-detail-facts>span{border:1px solid #e1e9e9;background:#fafcfc;border-radius:11px;padding:10px}.nx75-detail-facts small{display:block;color:#7c8e9a;font-size:8px}.nx75-detail-facts b{display:block;color:#173247;font-size:10px;margin-top:3px}
@media(max-width:1180px){.nx75-stock{max-width:1120px}.nx75-product-grid,.nx75-recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nx75-stat strong{font-size:17px}}
@media(max-width:850px){.nx75-page-head{align-items:flex-start;flex-direction:column}.nx75-stats{grid-template-columns:repeat(2,1fr)}.nx75-product-grid,.nx75-recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx75-toolbar{grid-template-columns:1fr auto}.nx75-filter-icon{display:none}.nx75-detail-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.nx75-page-head h1{font-size:29px}.nx75-stock-switch{width:100%}.nx75-stock-switch button{flex:1;justify-content:center}.nx75-stats{grid-template-columns:1fr 1fr}.nx75-stat{padding:10px;min-height:76px}.nx75-stat-icon{width:36px;height:36px}.nx75-stat strong{font-size:15px}.nx75-toolbar{grid-template-columns:1fr}.nx75-layout-toggle{width:100%}.nx75-layout-toggle button{flex:1;justify-content:center}.nx75-product-grid,.nx75-recipe-grid{grid-template-columns:1fr 1fr;gap:7px}.nx75-product-photo,.nx75-recipe-photo{height:105px}.nx75-detail-summary,.nx75-detail-facts{grid-template-columns:1fr 1fr}.nx75-ingredient-table>div{grid-template-columns:34px 1fr auto}.nx75-ingredient-table>div>em{grid-column:2/4;text-align:right;margin-top:-5px}}

/* ESTOQUE + RECEITAS — v76 fidelidade visual */
.nx76-stock{max-width:1320px!important}
.nx76-stock .nx75-page-head{margin-bottom:12px;align-items:center}
.nx76-stock .nx75-page-head h1{font-size:29px;line-height:1.02;letter-spacing:-.04em}
.nx76-stock .nx75-page-head p{font-size:10.5px;margin-top:5px}
.nx76-stock .nx75-stock-switch{padding:3px;border-radius:11px}
.nx76-stock .nx75-stock-switch button{height:34px;padding:0 13px;border-radius:8px;font-size:9px}
.nx76-stock .nx75-stats{gap:8px;margin-bottom:10px}
.nx76-stock .nx75-stat{min-height:70px;padding:9px 11px;border-radius:12px;gap:9px}
.nx76-stock .nx75-stat-icon{width:37px;height:37px;border-radius:10px}
.nx76-stock .nx75-stat-icon .icon{width:18px;height:18px}
.nx76-stock .nx75-stat small{font-size:8.8px}
.nx76-stock .nx75-stat strong{font-size:17px;margin-top:1px}
.nx76-stock .nx75-stat em{font-size:7.8px;margin-top:2px}
.nx76-stock .nx75-toolbar{grid-template-columns:minmax(260px,1fr) auto 38px;gap:7px;margin-bottom:7px}
.nx76-stock .nx75-search,.nx76-stock .nx75-layout-toggle{height:38px;border-radius:10px}
.nx76-stock .nx75-search{padding:0 11px}.nx76-stock .nx75-search input{font-size:9.8px}
.nx76-stock .nx75-layout-toggle{padding:3px}.nx76-stock .nx75-layout-toggle button{height:30px;padding:0 10px;font-size:8.8px}
.nx76-stock .nx75-filter-icon{width:38px;height:38px;border-radius:10px}
.nx76-category-row{position:relative;margin-bottom:9px}
.nx76-stock .nx75-category-strip{margin:0;padding:1px 26px 1px 0;gap:6px}
.nx76-stock .nx75-category-strip button{height:28px;padding:0 11px;font-size:8.6px}
.nx76-category-fade{position:absolute;right:0;top:0;width:26px;height:28px;border-radius:999px;background:linear-gradient(90deg,rgba(247,250,249,0),#f7faf9 42%);display:grid;place-items:center;color:#6d818f;font-size:18px;pointer-events:none}

.nx76-stock .nx75-product-grid{gap:8px}
.nx76-stock .nx75-product-card{min-height:182px;border-radius:12px;display:grid;grid-template-rows:94px 1fr}
.nx76-stock .nx75-product-photo{height:94px!important;width:100%!important;border-radius:0!important;padding:0!important;background:linear-gradient(180deg,#fcfdfd,#f7f9f8)!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.nx76-stock .nx75-product-photo>img{width:100%;height:100%;object-fit:contain;padding:7px 10px;display:block}
.nx76-stock .nx75-product-copy{padding:8px 10px 9px;min-height:0}
.nx76-stock .nx75-product-copy>b{font-size:10px;line-height:1.15}
.nx76-stock .nx75-product-copy>small{font-size:7.8px;margin-top:3px}
.nx76-stock .nx75-product-copy>strong{font-size:13.5px;margin-top:6px}
.nx76-stock .nx75-product-copy>span{margin-top:6px}
.nx76-stock .nx75-product-copy>span em{font-size:7.5px}
.nx76-stock .nx75-status{padding:3px 7px;font-size:7.2px;gap:4px}
.nx76-stock .nx75-status:before{width:4px;height:4px}
.nx76-stock .nx75-card-more{right:6px;top:6px;width:22px;height:22px;border-radius:7px;font-size:13px}

/* thumb seguro: não exibe ícone de imagem quebrada */
.nx76-thumb{position:relative;display:grid;place-items:center;overflow:hidden;background:#f6f9f8}
.nx76-thumb>img{display:block}
.nx76-thumb-fallback{display:none;place-items:center;width:100%;height:100%;color:#829796}
.nx76-thumb-fallback .icon{width:26px;height:26px}
.nx76-thumb.fallback>img{display:none!important}.nx76-thumb.fallback>.nx76-thumb-fallback{display:grid}

/* Receitas mais compactas e próximas do gabarito */
.nx76-stock .nx75-recipe-grid{gap:8px}
.nx76-stock .nx75-recipe-card{min-height:150px;border-radius:12px;display:grid;grid-template-rows:88px 1fr}
.nx76-stock .nx75-recipe-card.selected{border-color:#0a9b8f;box-shadow:0 0 0 1px rgba(10,155,143,.14)}
.nx76-stock .nx75-recipe-photo{height:88px!important;width:100%!important;border-radius:0!important;padding:0!important;background:linear-gradient(180deg,#fcfdfd,#f7f9f8)!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.nx76-stock .nx75-recipe-photo>img{width:100%;height:100%;object-fit:contain;padding:6px 8px;display:block}
.nx76-stock .nx75-recipe-copy{padding:7px 9px 8px}
.nx76-stock .nx75-recipe-copy>b{font-size:9.5px;line-height:1.15}
.nx76-stock .nx75-recipe-values{gap:6px;margin-top:7px}
.nx76-stock .nx75-recipe-values>span{gap:1px}
.nx76-stock .nx75-recipe-values strong{font-size:11.5px}
.nx76-stock .nx75-recipe-values em{font-size:7px}
.nx76-stock .nx75-recipe-values>span:last-child strong{color:#078a78}

/* painel inline da receita selecionada */
.nx76-recipe-detail{grid-column:1/-1;border:1px solid #dbe6e6;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(20,55,65,.045);margin:2px 0 0}
.nx76-recipe-detail>header{min-height:64px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eeee}
.nx76-recipe-title{display:flex;align-items:center;gap:10px;min-width:0}.nx76-recipe-title>div{min-width:0}.nx76-recipe-title>div>div{display:flex;align-items:center;gap:8px}.nx76-recipe-title h3{margin:0;color:#10253a;font-size:14px;letter-spacing:-.02em}.nx76-recipe-title p{margin:2px 0 0;color:#748695;font-size:8px}.nx76-recipe-title i{font-style:normal;background:#e2f6ef;color:#198261;border-radius:999px;padding:3px 7px;font-size:7px;font-weight:800}
.nx76-detail-thumb{width:48px;height:48px;border-radius:10px;flex:none}.nx76-detail-thumb>img{width:100%;height:100%;object-fit:contain;padding:3px}
.nx76-detail-actions{display:flex;align-items:center;gap:6px}.nx76-detail-actions button{height:31px;border:1px solid #dce7e7;border-radius:8px;background:#fff;color:#315168;padding:0 10px;font-size:8px;font-weight:800;cursor:pointer}.nx76-detail-actions button:last-child{width:31px;padding:0;font-size:17px;color:#607586}
.nx76-recipe-detail>nav{display:flex;align-items:center;gap:22px;padding:0 12px;border-bottom:1px solid #e9eeee}.nx76-recipe-detail>nav button{height:34px;border:0;border-bottom:2px solid transparent;background:transparent;color:#647787;font-size:8.5px;font-weight:750;padding:0 2px;cursor:pointer}.nx76-recipe-detail>nav button.active{color:#078b80;border-bottom-color:#078b80}
.nx76-detail-body{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:10px;padding:10px 12px 12px}
.nx76-ingredient-table{border:1px solid #e0e8e8;border-radius:10px;overflow:hidden;min-width:0}.nx76-ingredient-table>div{display:grid;grid-template-columns:32px minmax(120px,1.5fr) 85px 70px 90px 90px;align-items:center;gap:7px;min-height:31px;padding:4px 7px;border-bottom:1px solid #edf1f1;font-size:7.8px;color:#53697a}.nx76-ingredient-table>div:last-child{border-bottom:0}.nx76-ingredient-table>div.head{grid-template-columns:minmax(152px,1.5fr) 85px 70px 90px 90px;min-height:27px;background:#f7faf9;color:#617586;font-weight:800}.nx76-ingredient-table>div.head span:first-child{grid-column:1}.nx76-ingredient-table .name{font-weight:750;color:#1f3b50;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx76-ingredient-table b{font-weight:750;color:#29465a}.nx76-ingredient-table strong{text-align:right;color:#173349}.nx76-mini-thumb{width:27px;height:27px;border-radius:6px}.nx76-mini-thumb>img{width:100%;height:100%;object-fit:contain;padding:1px}.nx76-mini-thumb .nx76-thumb-fallback .icon{width:13px;height:13px}
.nx76-cost-summary{border:1px solid #dfe7e7;border-radius:10px;padding:9px 10px;background:#fbfcfc;display:grid;align-content:start;gap:8px}.nx76-cost-summary h4{margin:0 0 2px;color:#183247;font-size:10px}.nx76-cost-summary span{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#687b89;font-size:8px}.nx76-cost-summary b{color:#173247}.nx76-cost-summary b.green{color:#078a78}.nx76-cost-summary b.badge{background:#dff4e7;color:#18724e;border-radius:999px;padding:2px 6px}
.nx76-info-panel{padding:14px}.nx76-info-panel h4{margin:0 0 7px;color:#173247;font-size:11px}.nx76-info-panel p{margin:0;color:#667b8b;font-size:9px;line-height:1.55}
.nx76-info-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:12px}.nx76-info-grid span{border:1px solid #e0e8e8;border-radius:9px;background:#fafcfc;padding:9px}.nx76-info-grid small{display:block;color:#7b8c98;font-size:7px}.nx76-info-grid b{display:block;margin-top:3px;color:#183247;font-size:9.5px}
.nx76-detail-empty{padding:16px!important;color:#7b8d99;font-size:8.5px}

/* modais antigos continuam funcionais, agora aceitando thumbs-wrappers */
.nx75-detail-image{display:grid!important;place-items:center!important;overflow:hidden!important;padding:0!important}.nx75-detail-image>img{width:100%;height:100%;object-fit:contain;padding:5px}
.nx75-ingredient-thumb{display:grid!important;place-items:center!important;overflow:hidden!important;padding:0!important}.nx75-ingredient-thumb>img{width:100%;height:100%;object-fit:contain;padding:2px}

.nx76-stock .nx75-product-grid.is-list .nx75-product-card,.nx76-stock .nx75-recipe-grid.is-list .nx75-recipe-card{min-height:68px;grid-template-columns:76px 1fr;grid-template-rows:auto}
.nx76-stock .nx75-product-grid.is-list .nx75-product-photo,.nx76-stock .nx75-recipe-grid.is-list .nx75-recipe-photo{height:68px!important}.nx76-stock .nx75-product-grid.is-list .nx75-product-copy,.nx76-stock .nx75-recipe-grid.is-list .nx75-recipe-copy{padding:7px 11px}

@media(max-width:1360px){.nx76-stock{max-width:1180px!important}.nx76-stock .nx75-product-card{min-height:174px;grid-template-rows:88px 1fr}.nx76-stock .nx75-product-photo{height:88px!important}.nx76-stock .nx75-recipe-card{min-height:145px;grid-template-rows:82px 1fr}.nx76-stock .nx75-recipe-photo{height:82px!important}.nx76-detail-body{grid-template-columns:minmax(0,1fr) 180px}.nx76-ingredient-table>div{grid-template-columns:28px minmax(100px,1.4fr) 70px 58px 78px 78px}.nx76-ingredient-table>div.head{grid-template-columns:minmax(128px,1.4fr) 70px 58px 78px 78px}}
@media(max-width:1180px){.nx76-stock .nx75-product-grid,.nx76-stock .nx75-recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nx76-detail-body{grid-template-columns:1fr}.nx76-cost-summary{grid-template-columns:repeat(4,1fr)}.nx76-cost-summary h4{grid-column:1/-1}}
@media(max-width:850px){.nx76-stock .nx75-page-head{align-items:flex-start}.nx76-stock .nx75-stats{grid-template-columns:repeat(2,1fr)}.nx76-stock .nx75-product-grid,.nx76-stock .nx75-recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx76-recipe-detail>nav{gap:10px;overflow-x:auto}.nx76-info-grid{grid-template-columns:repeat(2,1fr)}.nx76-ingredient-table{overflow-x:auto}.nx76-ingredient-table>div{min-width:590px}}


/* =========================================================
   NEXO Web v77 — boletos por parcela / contas a pagar
   ========================================================= */
.nx77-upcoming-row-shell{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:3px;border-radius:9px}
.nx77-upcoming-row-shell.urgent{background:#fff3f3}
.nx77-upcoming-row-shell.urgent .nx73-upcoming-row{background:transparent!important}
.nx77-upcoming-row-shell .nx73-upcoming-row{min-width:0}
.nx77-upcoming-doc{width:28px;height:28px;border:1px solid #dce7e8;border-radius:8px;background:#fff;display:grid;place-items:center;color:#7b8e9e;cursor:pointer;transition:.16s ease;padding:0;flex:none}
.nx77-upcoming-doc .icon{width:14px;height:14px}
.nx77-upcoming-doc.has-file{color:#078d81;background:#ecf9f7;border-color:#cfece7}
.nx77-upcoming-doc.empty:hover,.nx77-upcoming-doc.has-file:hover{color:#067c73;border-color:#8fd0c8;background:#f0faf8;transform:translateY(-1px)}

.nx77-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:7px}
.nx77-section-head h3{margin:0!important}
.nx77-section-head small{font-size:8px;color:#7a8b98}
.nx77-order-installments>.nx77-installment-row{grid-template-columns:35px minmax(90px,1fr) 105px 68px 100px!important;gap:8px!important;padding:7px 8px!important}
.nx77-order-installments>.nx77-installment-row>span{display:block!important;border:0!important;border-radius:0!important;padding:0!important;font-size:9px!important;color:#607186!important}
.nx77-order-installments>.nx77-installment-row>strong{text-align:right}
.nx77-installment-doc{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important}
.nx77-installment-doc button{height:28px;border:1px solid #dbe6e7;border-radius:8px;background:#fff;color:#0a877e;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;font:inherit;font-size:8px;font-weight:800;cursor:pointer;transition:.16s ease}
.nx77-installment-doc button:hover{background:#eefaf8;border-color:#9bd5ce}
.nx77-installment-doc button .icon{width:13px;height:13px}
.nx77-installment-doc .nx77-doc-replace{width:28px;padding:0;color:#718596}
.nx77-installment-doc small{font-size:8px;color:inherit}

.nx77-direct-boleto>div{display:flex;align-items:center;gap:6px}
.nx77-direct-doc{min-height:46px;border:1px solid #dbe6e7;border-radius:10px;background:#f9fcfb;color:#0b8279;display:flex;align-items:center;gap:9px;padding:7px 10px;cursor:pointer;text-align:left}
.nx77-direct-doc>.icon{width:18px;height:18px;flex:none}
.nx77-direct-doc>span{display:grid!important;border:0!important;padding:0!important;gap:1px!important}
.nx77-direct-doc strong{font-size:9.5px;color:#15374a;text-align:left!important}
.nx77-direct-doc small{font-size:8px;color:#718494}
.nx77-direct-boleto>.nx77-doc-replace,.nx77-direct-boleto>div>.nx77-doc-replace{width:34px;height:34px;border:1px solid #dbe6e7;border-radius:9px;background:#fff;color:#748797;display:grid;place-items:center;cursor:pointer;padding:0}
.nx77-direct-boleto .nx77-doc-replace .icon{width:14px;height:14px}

@media(max-width:760px){
  .nx77-order-installments>.nx77-installment-row{grid-template-columns:28px minmax(70px,1fr) 82px 72px!important}
  .nx77-installment-doc{grid-column:1/-1!important;justify-content:flex-start!important;padding-top:3px!important}
  .nx77-section-head{align-items:start;flex-direction:column;gap:2px}
}

/* ===== NEXO Web 1.0.1 — componentes funcionais ===== */
.nx-web-modal-backdrop{position:fixed;inset:0;z-index:10000;background:rgba(2,28,29,.48);display:grid;place-items:center;padding:24px;overflow:auto}
.nx-web-modal{width:min(520px,100%);background:var(--surface,#fff);color:var(--text,#0a2130);border:1px solid var(--line,#dce8e8);border-radius:18px;box-shadow:0 24px 70px rgba(0,25,25,.22);overflow:hidden}
.nx-web-modal.wide{width:min(760px,100%)}
.nx-web-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px;border-bottom:1px solid var(--line,#e5eeee)}
.nx-web-modal>header h2{margin:0;font-size:21px;line-height:1.2;color:var(--text,#071f31)}
.nx-web-modal>header p{margin:6px 0 0;color:var(--muted,#72848d);font-size:13px;line-height:1.45}
.nx-web-modal-close{border:0;background:transparent;color:var(--muted,#71838b);font-size:28px;line-height:1;width:38px;height:38px;border-radius:10px;cursor:pointer}
.nx-web-modal-close:hover{background:var(--surface-2,#f3f7f7)}
.nx-web-modal-body{padding:22px 24px 24px}
.nx-web-form{display:grid;gap:15px}
.nx-web-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nx-web-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--text-2,#354f58)}
.nx-web-form input,.nx-web-form select,.nx-web-form textarea{width:100%;min-height:44px;border:1px solid var(--line,#d4e1e1);border-radius:10px;background:var(--surface,#fff);color:var(--text,#0b2631);padding:10px 12px;font:inherit;outline:none}
.nx-web-form input:focus,.nx-web-form select:focus,.nx-web-form textarea:focus{border-color:#149a8d;box-shadow:0 0 0 3px rgba(20,154,141,.12)}
.nx-web-form-error{min-height:18px;color:#a5333e;font-size:12px;font-weight:650}
.nx-web-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:4px}
.nx-web-info{display:flex;gap:14px;align-items:flex-start;padding:15px;border-radius:12px;background:var(--surface-2,#f4f8f8);border:1px solid var(--line,#e0ebeb)}
.nx-web-info>.icon{width:22px;height:22px;flex:0 0 auto;color:#008d80}
.nx-web-info strong{display:block;margin-bottom:5px}.nx-web-info p{margin:0;color:var(--muted,#687d85);font-size:13px;line-height:1.5}
.nx42-sync-button{appearance:none;font:inherit;text-align:left;cursor:pointer}
.nx42-sync-button:disabled{opacity:.6;cursor:wait}
.nx75-stock-filter-wrap{position:relative}
.nx75-filter-icon.active{border-color:#149a8d!important;color:#087e75!important;background:#edf9f7!important}
.nx75-stock-filter{position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:190px;padding:10px;background:var(--surface,#fff);border:1px solid var(--line,#dce6e6);border-radius:12px;box-shadow:0 14px 36px rgba(1,45,45,.15)}
.nx75-stock-filter strong{display:block;padding:6px 8px 9px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#718287)}
.nx75-stock-filter button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:8px;color:var(--text,#102731);font:inherit;font-size:13px;cursor:pointer}
.nx75-stock-filter button:hover,.nx75-stock-filter button.active{background:#edf9f7;color:#087e75;font-weight:700}
.nx42-settings-disabled button:disabled{opacity:.65;cursor:not-allowed}
.nx42-settings-disabled button em{font-style:normal;font-size:11px;color:var(--muted,#6e8587);white-space:nowrap}
@media(max-width:640px){.nx-web-modal-backdrop{padding:12px;place-items:end center}.nx-web-modal{border-radius:16px 16px 10px 10px}.nx-web-modal>header,.nx-web-modal-body{padding-left:18px;padding-right:18px}.nx-web-form-row{grid-template-columns:1fr}.nx-web-modal-actions>*{flex:1}}


/* ===== NEXO Web 1.0.2 — acesso por código ===== */
.nx-code-intro{display:flex;align-items:center;gap:13px;margin:-2px 0 18px;padding:13px 14px;border:1px solid #dcebea;border-radius:13px;background:linear-gradient(135deg,#f5fbfa,#fbfdfd)}
.nx-code-intro-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#e4f6f3;color:#068d82}
.nx-code-intro-icon .icon{width:20px;height:20px;stroke-width:1.8}
.nx-code-intro strong{display:block;color:#102936;font-size:13px;line-height:1.25}
.nx-code-intro p{margin:3px 0 0;color:#70848c;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.nx-code-intro b{color:#294955;font-weight:750}
.nx-code-form{gap:12px}
.nx-code-field{gap:8px!important}
.nx-web-form .nx-code-input{height:60px;min-height:60px;text-align:center;font-size:27px;font-weight:800;letter-spacing:.42em;padding-left:calc(12px + .42em);font-variant-numeric:tabular-nums;border-radius:13px;border-color:#cbdedd;background:#fbfdfd;color:#0b2935}
.nx-web-form .nx-code-input::placeholder{color:#becdce;opacity:.68;letter-spacing:.42em}
.nx-web-form .nx-code-input:focus{background:#fff;border-color:#0a9b8e;box-shadow:0 0 0 4px rgba(10,155,142,.11)}
.nx-code-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px}
.nx-code-meta>span{display:inline-flex;align-items:center;gap:6px;color:#72878e;font-size:11.5px}
.nx-code-meta>span .icon{width:14px;height:14px;stroke-width:1.8}
.nx-code-resend{border:0;background:transparent;padding:5px 0;color:#72878e;font:inherit;font-size:11.5px;font-weight:750;cursor:not-allowed}
.nx-code-resend.ready{color:#078d82;cursor:pointer}
.nx-code-resend.ready:hover{text-decoration:underline;text-underline-offset:3px}
.nx-code-resend-status{min-height:17px;margin-top:-5px;font-size:11.5px;font-weight:650;color:#70848c}
.nx-code-resend-status.success{color:#087c70}
.nx-code-resend-status.error{color:#aa3842}
.nx-code-hint{margin:-4px 0 0;color:#86979d;font-size:10.8px;line-height:1.45}
.nx-code-actions{margin-top:6px;padding-top:15px;border-top:1px solid #e8eeee}
.nx-code-actions .nx42-primary,.nx-code-actions .nx42-secondary{min-width:118px}
@media(max-width:640px){.nx-code-intro{align-items:flex-start}.nx-code-meta{align-items:flex-start;flex-direction:column;gap:2px}.nx-web-form .nx-code-input{font-size:24px;letter-spacing:.34em;padding-left:calc(12px + .34em)}.nx-code-actions{display:grid;grid-template-columns:1fr 1fr}.nx-code-actions>*{width:100%;min-width:0!important}}

/* ===== NEXO Web 1.0.3 — acesso por código ===== */
.nx-code-stepbar{display:grid;grid-template-columns:28px 44px 28px 1fr;align-items:center;gap:8px;margin:-2px 0 18px;color:#8a9aa2}
.nx-code-stepbar>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid #d5e3e3;background:#f8fbfb;color:#7c9097;font-size:11px;font-weight:850}
.nx-code-stepbar>span.active{border-color:#0a9a8c;background:#e8f8f5;color:#087f75;box-shadow:0 0 0 4px rgba(10,154,140,.08)}
.nx-code-stepbar>span.done{border-color:#c9ebe5;background:#eaf8f5;color:#07887c}
.nx-code-stepbar>span.done .icon{width:14px;height:14px}
.nx-code-stepbar>i{display:block;height:1px;background:#dce8e8}
.nx-code-stepbar>em{justify-self:end;font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.08em;color:#82959b;text-transform:uppercase}
.nx-code-request-hero{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px;padding:16px 17px;border:1px solid #d9e9e6;border-radius:15px;background:linear-gradient(135deg,#f4fbf9 0%,#fbfdfd 100%)}
.nx-code-request-hero>span{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:13px;background:#def5f0;color:#078c80}
.nx-code-request-hero>span .icon{width:21px;height:21px}
.nx-code-request-hero small{display:block;margin:1px 0 4px;color:#0a8c80;font-size:9.5px;font-weight:900;letter-spacing:.13em}
.nx-code-request-hero strong{display:block;color:#102936;font-size:14px;line-height:1.25}
.nx-code-request-hero p{margin:5px 0 0;color:#74888f;font-size:11.5px;line-height:1.5}
.nx-code-request-form{gap:13px}
.nx-code-email-field{gap:8px!important}
.nx-code-email-input{height:50px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #cadcdb;border-radius:12px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.nx-code-email-input:focus-within{border-color:#0a9b8e;box-shadow:0 0 0 4px rgba(10,155,142,.1)}
.nx-code-email-input>b{display:grid;place-items:center;color:#6f858c}
.nx-code-email-input>b .icon{width:18px;height:18px}
.nx-web-form .nx-code-email-input input{min-height:0;height:100%;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.nx-web-form .nx-code-email-input input:focus{border:0;box-shadow:none}
.nx-code-request-note,.nx-code-security-note{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:10px;background:#f7fafb;color:#71858d;font-size:10.8px;line-height:1.45}
.nx-code-request-note .icon,.nx-code-security-note .icon{width:14px;height:14px;flex:0 0 14px;margin-top:1px;color:#759098}
.nx-code-error{min-height:0;padding:0;font-size:11.5px;line-height:1.4}
.nx-code-error:not(:empty){padding:9px 11px;border:1px solid #f1cfd3;border-radius:9px;background:#fff5f6;color:#a83944}
.nx-code-request-actions{margin-top:2px}
.nx-code-request-actions .nx42-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.nx-code-request-actions .nx42-primary .icon{width:15px;height:15px}
.nx-code-delivery-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin:-2px 0 17px;padding:13px 14px;border:1px solid #dcebea;border-radius:14px;background:linear-gradient(135deg,#f4fbfa,#fbfdfd)}
.nx-code-delivery-card .nx-code-intro-icon{margin:0}
.nx-code-delivery-card small{display:block;color:#81949a;font-size:9px;font-weight:850;letter-spacing:.11em}
.nx-code-delivery-card strong{display:block;margin-top:3px;color:#183541;font-size:12.5px;line-height:1.3;overflow-wrap:anywhere}
.nx-code-delivery-card p{margin:3px 0 0;color:#81949a;font-size:10.5px}
.nx-code-delivery-card>button{align-self:start;border:0;background:transparent;padding:3px 0;color:#078b80;font:800 10.5px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.nx-code-delivery-card>button:hover{text-decoration:underline;text-underline-offset:3px}
.nx-code-form{gap:12px}
.nx-web-form .nx-code-input{height:66px;min-height:66px;border-radius:14px;background:#fff;font-size:29px;letter-spacing:.46em;padding-left:calc(12px + .46em);font-weight:850}
.nx-code-timing{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border:1px solid #e2ecec;border-radius:10px;background:#fafcfc}
.nx-code-expiry{display:inline-flex;align-items:center;gap:6px;color:#647b83;font-size:11px}
.nx-code-expiry .icon{width:14px;height:14px}
.nx-code-expiry b{font-weight:750;color:#526b74}
.nx-code-resend{padding:4px 0;font-size:11px}
.nx-code-resend-status{margin:0;min-height:0}
.nx-code-resend-status:not(:empty){min-height:18px;padding:7px 9px;border-radius:8px;background:#f6faf9}
.nx-code-resend-status.success{background:#eff9f6;color:#087c70}
.nx-code-resend-status.error{background:#fff4f5;color:#aa3842}
.nx-code-security-note{margin-top:0;background:#f7fafb}
.nx-code-actions{margin-top:2px;padding-top:14px}
.nx-code-is-expired .nx-code-timing{border-color:#edd6d9;background:#fff8f8}
.nx-code-is-expired .nx-code-expiry,.nx-code-is-expired .nx-code-expiry b{color:#a83c47}
.nx-code-is-expired .nx-code-input{background:#f5f7f7;color:#9aabad}
@media(max-width:640px){
  .nx-code-stepbar{grid-template-columns:28px 34px 28px 1fr}
  .nx-code-request-hero{padding:14px}
  .nx-code-delivery-card{grid-template-columns:40px minmax(0,1fr);align-items:start}
  .nx-code-delivery-card>button{grid-column:2;justify-self:start;margin-top:-2px}
  .nx-code-timing{align-items:flex-start;flex-direction:column;gap:6px}
  .nx-web-form .nx-code-input{font-size:25px;letter-spacing:.36em;padding-left:calc(12px + .36em)}
}

/* ========================================================================== 
   v84 — NORMALIZAÇÃO VISUAL DAS TELAS-BASE (overview / analytics / profile)
   Objetivo: alinhar a execução ao mockup aprovado, padronizando sidebar,
   topbar, hierarquia tipográfica, cards e blocos do fluxo por código.
   ========================================================================== */

@media (min-width:981px){
  /* Shell principal: sidebar aberta por padrão no desktop, como nas telas-base. */
  .nx42-sidebar{
    width:220px!important;
    padding:18px 14px 14px!important;
    box-shadow:8px 0 28px rgba(1,72,72,.08)!important;
  }
  .nx42-sidebar:hover{width:220px!important}
  .nx42-workspace{margin-left:220px!important}
  .nx42-side-brand,
  .nx42-sidebar:hover .nx42-side-brand{
    width:192px!important;
    height:58px!important;
    margin:0 0 16px!important;
  }
  .nx42-side-brand>span,
  .nx42-sidebar:hover .nx42-side-brand>span{
    opacity:1!important;
    transform:none!important;
  }
  .nx42-side-brand strong{font-size:19px!important;letter-spacing:-.04em!important}
  .nx42-side-brand small{font-size:9px!important;letter-spacing:.18em!important}
  .nx42-nav,
  .nx42-sidebar:hover .nx42-nav{width:192px!important;gap:8px!important}
  .nx42-nav .nav-item,
  .nx42-sidebar:hover .nx42-nav .nav-item{
    width:192px!important;
    height:54px!important;
    min-height:54px!important;
    justify-content:flex-start!important;
    padding:0 16px!important;
    border-radius:14px!important;
    gap:14px!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  .nx42-nav .nav-item>span:not(.nav-badge),
  .nx42-nav .nav-badge,
  .nx42-sidebar:hover .nx42-nav .nav-item>span:not(.nav-badge),
  .nx42-sidebar:hover .nx42-nav .nav-badge{display:inline-flex!important}
  .nx42-nav .nav-item svg{width:20px!important;height:20px!important}
  .nx42-side-footer,
  .nx42-sidebar:hover .nx42-side-footer{width:192px!important;padding-top:14px!important}
  .nx42-profile-entry,
  .nx42-sidebar:hover .nx42-profile-entry{
    width:192px!important;
    height:60px!important;
    border-radius:15px!important;
    padding:7px!important;
  }
  .nx42-profile-entry>span:nth-child(2),
  .nx42-profile-entry>b,
  .nx42-sidebar:hover .nx42-profile-entry>span:nth-child(2),
  .nx42-sidebar:hover .nx42-profile-entry>b{opacity:1!important}
  .nx42-profile-entry .avatar{width:44px!important;height:44px!important;font-size:13px!important}
  .nx42-profile-entry strong{font-size:11px!important}
  .nx42-profile-entry small{font-size:8.5px!important}
  .nx42-logout,
  .nx42-sidebar:hover .nx42-logout{
    width:192px!important;
    height:48px!important;
    justify-content:flex-start!important;
    padding:0 16px!important;
    border-radius:13px!important;
  }
  .nx42-logout>span,
  .nx42-sidebar:hover .nx42-logout>span{display:inline!important}

  /* Topbar e área central */
  .nx42-topbar{
    height:74px!important;
    padding:0 30px!important;
    border-bottom:1px solid #dfe8eb!important;
  }
  .nx42-company-switch{
    height:48px!important;
    min-width:280px!important;
    border-radius:12px!important;
  }
  .nx42-company-switch strong{font-size:12.5px!important}
  .nx42-company-switch small{font-size:9px!important}
  .nx42-top-actions{gap:14px!important}
  .nx42-top-sync{font-size:12px!important}
  .nx42-top-sync>i{width:9px!important;height:9px!important}
  .nx42-main{
    max-width:1540px!important;
    margin:0 auto!important;
    padding:28px 30px 30px!important;
  }

  /* Cabeçalhos */
  .nx42-page-head{margin-bottom:18px!important;gap:26px!important}
  .nx42-page-head h1{font-size:56px!important;line-height:.95!important;letter-spacing:-.06em!important}
  .nx42-page-head p{font-size:14px!important;line-height:1.48!important;margin-top:8px!important;color:#6f7f96!important}
  .nx42-eyebrow{font-size:12px!important;margin-bottom:8px!important;letter-spacing:.15em!important}
  .nx42-head-callout{
    min-width:400px!important;
    height:74px!important;
    border-radius:16px!important;
    padding:0 22px!important;
    gap:16px!important;
  }
  .nx42-head-callout svg{width:29px!important;height:29px!important}
  .nx42-head-callout strong{font-size:15px!important;line-height:1.35!important}
  .nx42-head-callout span{font-size:28px!important}

  /* Cards genéricos */
  .nx42-card,
  .nx42-profile-hero,
  .nx42-profile-form,
  .nx42-help-card,
  .nx42-analytics-filter,
  .nx42-analytics-kpis .analytics-kpi,
  .nx42-finance-chart,
  .nx42-import,
  .nx42-overview-bottom>.nx42-card,
  .nx42-account-ok{
    border-radius:18px!important;
  }

  /* Visão geral */
  .nx42-kpi-grid{gap:16px!important;margin-bottom:16px!important}
  .nx42-kpi{
    min-height:122px!important;
    padding:18px 18px 16px!important;
    grid-template-columns:54px minmax(0,1fr) auto!important;
    gap:14px!important;
    border-radius:18px!important;
    box-shadow:0 8px 22px rgba(15,45,56,.04)!important;
  }
  .nx42-kpi-icon{width:54px!important;height:54px!important;border-radius:15px!important}
  .nx42-kpi-icon svg{width:24px!important;height:24px!important}
  .nx42-overview .nx42-kpi small{font-size:15px!important;line-height:1.2!important;font-weight:800!important}
  .nx42-overview .nx42-kpi strong{font-size:28px!important;line-height:1.05!important;margin:8px 0 7px!important}
  .nx42-overview .nx42-kpi em,
  .nx42-overview .nx42-kpi em i{font-size:12px!important;line-height:1.35!important}
  .nx42-kpi>b{font-size:28px!important}

  .nx42-overview-middle{
    grid-template-columns:minmax(0,2.18fr) minmax(345px,.82fr)!important;
    gap:16px!important;
    margin-bottom:16px!important;
  }
  .nx42-overview .nx42-finance-chart,
  .nx42-overview .nx42-import{min-height:272px!important}
  .nx42-finance-chart,
  .nx42-import{padding:18px!important}
  .nx42-overview .dashboard-card-head,
  .nx42-overview .compact-panel-head,
  .nx42-panel-head{margin-bottom:10px!important}
  .nx42-overview .dashboard-card-head h3,
  .nx42-overview .compact-panel-head h3,
  .nx42-panel-head h3{font-size:18px!important;letter-spacing:-.03em!important}
  .nx42-overview .dashboard-card-head p,
  .nx42-overview .compact-panel-head p,
  .nx42-overview .nx42-panel-head p,
  .nx42-overview .accepted-formats{font-size:12px!important;line-height:1.4!important}
  .nx42-overview .dashboard-title-icon,
  .nx42-panel-icon{width:46px!important;height:46px!important;border-radius:14px!important}
  .nx42-overview .dashboard-title-icon svg,
  .nx42-panel-icon svg{width:22px!important;height:22px!important}
  .nx42-overview .period-select,
  .nx42-overview .nx57-period-select{height:42px!important;border-radius:11px!important;font-size:12px!important}
  .nx42-overview .panel-link{font-size:12px!important}
  .nx42-import .pdv-dropzone{min-height:138px!important;border-radius:14px!important}
  .nx42-overview-bottom{
    grid-template-columns:minmax(0,1.34fr) minmax(315px,.95fr) minmax(345px,1.05fr)!important;
    gap:16px!important;
  }
  .nx42-overview-bottom>.nx42-card{min-height:252px!important;padding:18px!important}
  .nx42-overview .recent-table-v2,
  .nx42-overview .recent-head,
  .nx42-overview .recent-row{font-size:10.5px!important}
  .nx42-overview .stock-row-v2{min-height:46px!important}
  .nx42-overview .stock-row-v2 strong{font-size:11px!important}
  .nx42-overview .stock-row-v2 small{font-size:10px!important}

  /* Análises */
  .nx42-page-head.analytics{align-items:flex-end!important}
  .nx42-mode-switch,
  .analytics-mode-switch{border-radius:14px!important;padding:4px!important}
  .nx42-mode-switch button,
  .analytics-mode-btn{height:38px!important;padding:0 22px!important;border-radius:11px!important;font-size:12px!important;font-weight:800!important}
  .nx42-analytics-filter{
    padding:16px!important;
    gap:12px!important;
    border-radius:18px!important;
    grid-template-columns:1.8fr .9fr .9fr .8fr .8fr .95fr auto!important;
    margin-bottom:16px!important;
  }
  .nx42-filter-presets>span,
  .nx42-analytics-filter label>span{font-size:11px!important;margin-bottom:2px!important}
  .nx42-filter-presets button{height:38px!important;padding:0 16px!important;border-radius:12px!important;font-size:12px!important}
  .nx42-analytics-filter input,
  .nx42-analytics-filter select,
  .nx42-apply{height:44px!important;border-radius:12px!important;font-size:12px!important}
  .nx42-apply{padding:0 22px!important}
  .nx42-analytics-kpis{gap:16px!important;margin-bottom:16px!important}
  .nx42-analytics-kpis .analytics-kpi{
    min-height:132px!important;
    padding:18px!important;
    grid-template-columns:54px 1fr!important;
    gap:14px!important;
    border-radius:18px!important;
  }
  .nx42-analytics-kpis .analytics-kpi-icon{width:54px!important;height:54px!important;border-radius:15px!important}
  .nx42-analytics-kpis .analytics-kpi-copy span{font-size:14px!important;font-weight:800!important}
  .nx42-analytics-kpis .analytics-kpi-copy strong{font-size:28px!important;letter-spacing:-.035em!important}
  .nx42-analytics-kpis .analytics-kpi-copy small,
  .nx42-analytics-kpis .analytics-kpi-copy em{font-size:12px!important;line-height:1.35!important}
  .nx42-analytics-main{grid-template-columns:minmax(0,1.55fr) minmax(360px,.85fr)!important;gap:16px!important;margin-bottom:16px!important}
  .nx42-analytics-chart,
  .nx42-expense-categories{min-height:318px!important;padding:18px!important;border-radius:18px!important}
  .nx42-chart-tools{font-size:11px!important}
  .nx42-chart-tools select{height:36px!important;font-size:11px!important;border-radius:10px!important}
  .nx42-overview .chart-legend,
  .nx42-chart-tools span{font-size:11px!important}
  .nx42-bar-chart{height:240px!important;padding:12px 12px 26px 70px!important}
  .nx42-yaxis{width:62px!important;font-size:10px!important}
  .nx42-bars{left:70px!important;gap:9px!important}
  .nx42-bar-group>span{font-size:9px!important;height:24px!important}
  .nx42-analytics-bottom{grid-template-columns:1.02fr 1fr 1.34fr!important;gap:16px!important}
  .nx42-purchase-card,
  .nx42-products-card,
  .nx42-detail-card{min-height:284px!important;padding:18px!important;border-radius:18px!important}
  .nx42-products-card .analytics-product-copy strong,
  .nx42-products-card .analytics-product-value,
  .nx42-detail-card .analytics-table{font-size:11px!important}
  .nx42-products-card .analytics-product-copy small,
  .nx42-detail-card .analytics-table th,
  .nx42-detail-card .analytics-table td,
  .nx42-purchase-card .purchase-explain,
  .nx42-purchase-card .purchase-summary{font-size:10px!important}
  .nx42-analytics-footnote{font-size:10px!important}

  /* Perfil */
  .nx42-account-ok{
    min-width:395px!important;
    padding:18px 22px!important;
    gap:14px!important;
  }
  .nx42-account-ok strong{font-size:15px!important}
  .nx42-account-ok small{font-size:12px!important;line-height:1.35!important}
  .nx42-profile-hero{
    min-height:176px!important;
    grid-template-columns:118px 1.1fr 1.34fr auto!important;
    gap:26px!important;
    padding:24px 26px!important;
    margin-bottom:18px!important;
  }
  .nx42-profile-avatar{width:104px!important;height:104px!important;font-size:34px!important}
  .nx42-profile-person>strong{font-size:24px!important}
  .nx42-profile-person>span{font-size:14px!important}
  .nx42-profile-person>small{font-size:13px!important;margin-top:16px!important}
  .nx42-profile-meta{padding-left:28px!important;gap:18px!important}
  .nx42-profile-meta>div{grid-template-columns:44px 1fr!important;gap:12px!important}
  .nx42-profile-meta>div>svg{width:44px!important;height:44px!important;padding:10px!important;border-radius:13px!important}
  .nx42-profile-meta small{font-size:11px!important}
  .nx42-profile-meta strong{font-size:15px!important}
  .nx42-profile-meta em{font-size:11px!important}
  .nx42-edit-profile{height:46px!important;border-radius:12px!important;padding:0 18px!important;font-size:13px!important}
  .nx42-profile-layout{grid-template-columns:minmax(0,1fr) 372px!important;gap:20px!important}
  .nx42-profile-tabs{margin-bottom:20px!important}
  .nx42-profile-tabs button{height:58px!important;font-size:14px!important;gap:9px!important}
  .nx42-profile-tabs button svg{width:20px!important;height:20px!important}
  .nx42-profile-form{padding:22px!important;min-height:450px!important}
  .nx42-section-title{margin-bottom:20px!important}
  .nx42-section-title>span{width:54px!important;height:54px!important;border-radius:15px!important}
  .nx42-section-title h3{font-size:18px!important}
  .nx42-section-title p{font-size:12px!important;line-height:1.45!important}
  .nx42-form-grid{gap:18px 26px!important}
  .nx42-form-grid label>span{font-size:12px!important;font-weight:800!important}
  .nx42-form-grid input,
  .nx42-form-grid select{height:48px!important;border-radius:12px!important;font-size:13px!important;padding:0 12px!important}
  .nx42-form-actions{gap:12px!important;margin-top:24px!important}
  .nx42-form-actions .nx42-primary,
  .nx42-form-actions .nx42-secondary{height:46px!important;padding:0 24px!important;font-size:13px!important;border-radius:12px!important}
  .nx42-help-card{padding:20px!important}
  .nx42-help-card>button{height:44px!important;font-size:12px!important;border-radius:12px!important;margin:8px 0 14px!important}
  .nx42-help-links>span{grid-template-columns:40px 1fr auto!important;gap:10px!important;min-height:64px!important}
  .nx42-help-links>span>svg{width:40px!important;height:40px!important;padding:10px!important;border-radius:12px!important}
  .nx42-help-links strong{font-size:13px!important}
  .nx42-help-links small{font-size:11px!important;line-height:1.35!important}
  .nx42-help-links b{font-size:24px!important}
  .nx42-tip-card{padding:18px!important;border-radius:16px!important}
  .nx42-tip-card>svg{width:42px!important;height:42px!important;padding:10px!important;border-radius:12px!important}
  .nx42-tip-card small{font-size:11px!important}
  .nx42-tip-card strong{font-size:15px!important}
  .nx42-tip-card p{font-size:12px!important;line-height:1.45!important}

  /* Fluxo por código: harmonizar request + confirmação com as novas telas. */
  .nx-web-modal{width:min(560px,100%)!important;border-radius:22px!important}
  .nx-web-modal>header{padding:24px 26px 18px!important}
  .nx-web-modal>header h2{font-size:24px!important;letter-spacing:-.035em!important}
  .nx-web-modal>header p{font-size:13px!important}
  .nx-web-modal-body{padding:24px 26px 26px!important}
  .nx-code-stepbar{margin:0 0 20px!important}
  .nx-code-request-hero,
  .nx-code-delivery-card,
  .nx-code-intro{border-radius:16px!important;padding:16px!important}
  .nx-code-request-hero>span,
  .nx-code-intro-icon{width:46px!important;height:46px!important;border-radius:14px!important}
  .nx-code-request-hero small,
  .nx-code-delivery-card small{font-size:10px!important}
  .nx-code-request-hero strong,
  .nx-code-delivery-card strong,
  .nx-code-intro strong{font-size:14px!important}
  .nx-code-request-hero p,
  .nx-code-delivery-card p,
  .nx-code-intro p,
  .nx-code-request-note,
  .nx-code-security-note,
  .nx-code-meta>span,
  .nx-code-resend,
  .nx-code-resend-status{font-size:12px!important;line-height:1.45!important}
  .nx-code-email-input{height:54px!important;border-radius:14px!important}
  .nx-web-form .nx-code-input{height:72px!important;min-height:72px!important;font-size:31px!important;border-radius:16px!important}
  .nx-code-timing{padding:10px 12px!important;border-radius:12px!important}
  .nx-code-expiry{font-size:12px!important}
  .nx-code-actions .nx42-primary,
  .nx-code-actions .nx42-secondary,
  .nx-code-request-actions .nx42-primary{height:46px!important;border-radius:12px!important;font-size:13px!important}
}

/* Notebook: mantém o layout base, mas reduz sem quebrar a geometria aprovada. */
@media (min-width:981px) and (max-width:1440px){
  .nx42-sidebar{width:206px!important}
  .nx42-workspace{margin-left:206px!important}
  .nx42-side-brand,.nx42-sidebar:hover .nx42-side-brand,
  .nx42-nav,.nx42-sidebar:hover .nx42-nav,
  .nx42-side-footer,.nx42-sidebar:hover .nx42-side-footer,
  .nx42-profile-entry,.nx42-sidebar:hover .nx42-profile-entry,
  .nx42-logout,.nx42-sidebar:hover .nx42-logout{width:178px!important}
  .nx42-nav .nav-item,.nx42-sidebar:hover .nx42-nav .nav-item{width:178px!important}
  .nx42-main{padding:22px 20px 24px!important}
  .nx42-page-head h1{font-size:48px!important}
  .nx42-page-head p{font-size:13px!important}
  .nx42-head-callout{min-width:350px!important;height:68px!important}
  .nx42-head-callout strong{font-size:14px!important}
  .nx42-kpi{min-height:112px!important;padding:15px!important}
  .nx42-kpi-icon{width:48px!important;height:48px!important}
  .nx42-overview .nx42-kpi small{font-size:13px!important}
  .nx42-overview .nx42-kpi strong{font-size:24px!important}
  .nx42-overview .nx42-kpi em,.nx42-overview .nx42-kpi em i{font-size:11px!important}
  .nx42-overview-middle{grid-template-columns:minmax(0,2.05fr) minmax(310px,.9fr)!important;gap:12px!important}
  .nx42-overview-bottom{grid-template-columns:minmax(0,1.24fr) minmax(270px,.92fr) minmax(300px,1.02fr)!important;gap:12px!important}
  .nx42-overview .nx42-finance-chart,.nx42-overview .nx42-import{min-height:252px!important}
  .nx42-overview-bottom>.nx42-card{min-height:232px!important}
  .nx42-analytics-filter{grid-template-columns:1.55fr .84fr .84fr .74fr .74fr .88fr auto!important}
  .nx42-analytics-kpis .analytics-kpi{min-height:122px!important}
  .nx42-analytics-kpis .analytics-kpi-copy strong{font-size:24px!important}
  .nx42-analytics-main{grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr)!important;gap:12px!important}
  .nx42-analytics-bottom{grid-template-columns:1fr 1fr 1.18fr!important;gap:12px!important}
  .nx42-profile-layout{grid-template-columns:minmax(0,1fr) 340px!important;gap:16px!important}
  .nx42-profile-hero{grid-template-columns:104px 1fr 1.2fr auto!important;gap:20px!important;padding:22px!important}
  .nx42-profile-avatar{width:96px!important;height:96px!important}
}

/* ========================================================================== 
   v85 — ESCALA RESPONSIVA + ICONOGRAFIA DAS TELAS-BASE
   Mantém as proporções da v84, mas evita sensação de zoom em monitores cujo
   navegador oferece menos altura útil. Não usa transform/zoom: componentes
   são redimensionados de forma responsiva para preservar nitidez e layout.
   ========================================================================== */

/* Tons canônicos das referências visuais. */
.nx42-kpi-icon.green,.nx42-analytics-kpis .analytics-kpi-icon.green{background:#e2f7f2!important;color:#079a88!important}
.nx42-kpi-icon.red,.nx42-analytics-kpis .analytics-kpi-icon.red{background:#ffe9ed!important;color:#ef4e60!important}
.nx42-kpi-icon.blue,.nx42-analytics-kpis .analytics-kpi-icon.blue{background:#e5f4ff!important;color:#2786e5!important}
.nx42-kpi-icon.orange,.nx42-analytics-kpis .analytics-kpi-icon.orange{background:#fff1dc!important;color:#e39411!important}
.nx42-panel-icon,.nx42-overview .dashboard-title-icon{background:#e7f7f3!important;color:#078d80!important}
.nx42-profile-meta>div>svg{background:#f2f6f8!important;color:#183d61!important}
.nx42-section-title>span{background:#e7f7f3!important;color:#078d80!important}
.nx42-account-ok>svg{color:#078d80!important}

/* Área útil semelhante a notebook/desktop 1080p com barras do navegador. */
@media (min-width:981px) and (max-height:900px){
  .nx42-topbar{height:64px!important;padding-top:0!important;padding-bottom:0!important}
  .nx42-company-switch{height:42px!important;min-width:260px!important}
  .nx42-top-sync{font-size:10.5px!important}
  .nx42-main{padding:20px 26px 24px!important}

  .nx42-page-head{margin-bottom:13px!important}
  .nx42-page-head h1{font-size:44px!important;line-height:.98!important}
  .nx42-page-head p{font-size:12px!important;margin-top:6px!important}
  .nx42-eyebrow{font-size:10px!important;margin-bottom:6px!important}
  .nx42-head-callout{height:62px!important;min-width:350px!important;border-radius:13px!important;padding:0 18px!important}
  .nx42-head-callout svg{width:25px!important;height:25px!important}
  .nx42-head-callout strong{font-size:13px!important}

  /* Overview: cabe integralmente com muito menos rolagem. */
  .nx42-kpi-grid{gap:12px!important;margin-bottom:12px!important}
  .nx42-kpi{min-height:98px!important;padding:13px 14px!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:11px!important;border-radius:14px!important}
  .nx42-kpi-icon{width:44px!important;height:44px!important;border-radius:12px!important}
  .nx42-kpi-icon svg{width:21px!important;height:21px!important}
  .nx42-overview .nx42-kpi small{font-size:12px!important}
  .nx42-overview .nx42-kpi strong{font-size:22px!important;margin:6px 0 5px!important}
  .nx42-overview .nx42-kpi em,.nx42-overview .nx42-kpi em i{font-size:9.5px!important}
  .nx42-kpi>b{font-size:22px!important}
  .nx42-overview-middle{gap:12px!important;margin-bottom:12px!important;grid-template-columns:minmax(0,2.15fr) minmax(300px,.85fr)!important}
  .nx42-overview .nx42-finance-chart,.nx42-overview .nx42-import{min-height:232px!important}
  .nx42-finance-chart,.nx42-import{padding:14px!important}
  .nx42-overview .dashboard-card-head h3,.nx42-overview .compact-panel-head h3,.nx42-panel-head h3{font-size:15px!important}
  .nx42-overview .dashboard-card-head p,.nx42-overview .compact-panel-head p,.nx42-overview .nx42-panel-head p,.nx42-overview .accepted-formats{font-size:9.5px!important}
  .nx42-overview .dashboard-title-icon,.nx42-panel-icon{width:38px!important;height:38px!important;border-radius:11px!important}
  .nx42-overview .dashboard-title-icon svg,.nx42-panel-icon svg{width:19px!important;height:19px!important}
  .nx42-overview .period-select,.nx42-overview .nx57-period-select{height:36px!important;font-size:10px!important}
  .nx66-chart-wrap{height:160px!important}
  .nx42-import .pdv-dropzone{min-height:108px!important}
  .nx42-overview-bottom{gap:12px!important;grid-template-columns:minmax(0,1.32fr) minmax(270px,.94fr) minmax(300px,1.04fr)!important}
  .nx42-overview-bottom>.nx42-card{min-height:212px!important;padding:14px!important}
  .nx42-overview .panel-link{font-size:9.5px!important}
  .nx42-overview .recent-table-v2,.nx42-overview .recent-head,.nx42-overview .recent-row{font-size:8.8px!important}
  .nx42-overview .stock-row-v2{min-height:38px!important}
  .nx42-overview .stock-row-v2 strong{font-size:9.5px!important}
  .nx42-overview .stock-row-v2 small{font-size:8.5px!important}

  /* Análises: escala compatível com a referência, sem aspecto ampliado. */
  .nx42-analytics-filter{padding:12px!important;gap:9px!important;margin-bottom:12px!important;border-radius:14px!important}
  .nx42-filter-presets>span,.nx42-analytics-filter label>span{font-size:9px!important}
  .nx42-filter-presets button{height:33px!important;padding:0 13px!important;border-radius:10px!important;font-size:10px!important}
  .nx42-analytics-filter input,.nx42-analytics-filter select,.nx42-apply{height:37px!important;border-radius:9px!important;font-size:10px!important}
  .nx42-analytics-kpis{gap:12px!important;margin-bottom:12px!important}
  .nx42-analytics-kpis .analytics-kpi{min-height:105px!important;padding:13px!important;grid-template-columns:44px 1fr!important;gap:11px!important;border-radius:14px!important}
  .nx42-analytics-kpis .analytics-kpi-icon{width:44px!important;height:44px!important;border-radius:12px!important}
  .nx42-analytics-kpis .analytics-kpi-copy span{font-size:11px!important}
  .nx42-analytics-kpis .analytics-kpi-copy strong{font-size:22px!important}
  .nx42-analytics-kpis .analytics-kpi-copy small,.nx42-analytics-kpis .analytics-kpi-copy em{font-size:9.5px!important}
  .nx42-analytics-main{gap:12px!important;margin-bottom:12px!important;grid-template-columns:minmax(0,1.55fr) minmax(330px,.85fr)!important}
  .nx42-analytics-chart,.nx42-expense-categories{min-height:270px!important;padding:14px!important;border-radius:14px!important}
  .nx42-bar-chart{height:198px!important;padding-top:10px!important}
  .nx42-yaxis{font-size:8.5px!important}
  .nx42-chart-tools,.nx42-chart-tools span{font-size:9px!important}
  .nx42-chart-tools select{height:31px!important;font-size:9px!important}
  .nx42-analytics-bottom{gap:12px!important}
  .nx42-purchase-card,.nx42-products-card,.nx42-detail-card{min-height:236px!important;padding:14px!important;border-radius:14px!important}

  /* Perfil */
  .nx42-account-ok{min-width:350px!important;padding:13px 17px!important;border-radius:13px!important}
  .nx42-account-ok strong{font-size:12px!important}.nx42-account-ok small{font-size:10px!important}
  .nx42-profile-hero{min-height:146px!important;grid-template-columns:94px 1.05fr 1.3fr auto!important;gap:20px!important;padding:18px 20px!important;border-radius:14px!important;margin-bottom:14px!important}
  .nx42-profile-avatar{width:82px!important;height:82px!important;font-size:28px!important}
  .nx42-profile-person>strong{font-size:20px!important}.nx42-profile-person>span{font-size:12px!important}.nx42-profile-person>small{font-size:10.5px!important;margin-top:12px!important}
  .nx42-profile-meta{gap:12px!important;padding-left:22px!important}.nx42-profile-meta>div{grid-template-columns:36px 1fr!important;gap:9px!important}.nx42-profile-meta>div>svg{width:36px!important;height:36px!important;padding:8px!important;border-radius:10px!important}
  .nx42-profile-meta small{font-size:9px!important}.nx42-profile-meta strong{font-size:12px!important}.nx42-profile-meta em{font-size:9px!important}
  .nx42-edit-profile{height:38px!important;font-size:10.5px!important;border-radius:9px!important}
  .nx42-profile-layout{grid-template-columns:minmax(0,1fr) 330px!important;gap:16px!important}
  .nx42-profile-tabs button{height:48px!important;font-size:11px!important}
  .nx42-profile-form{padding:17px!important;min-height:365px!important;border-radius:14px!important}
  .nx42-section-title{margin-bottom:16px!important}.nx42-section-title>span{width:42px!important;height:42px!important;border-radius:11px!important}.nx42-section-title h3{font-size:15px!important}.nx42-section-title p{font-size:9.5px!important}
  .nx42-form-grid{gap:13px 20px!important}.nx42-form-grid label>span{font-size:9.5px!important}.nx42-form-grid input,.nx42-form-grid select{height:39px!important;border-radius:9px!important;font-size:10.5px!important}
  .nx42-form-actions{margin-top:18px!important}.nx42-form-actions .nx42-primary,.nx42-form-actions .nx42-secondary{height:38px!important;font-size:10.5px!important;border-radius:9px!important}
  .nx42-help-card{padding:15px!important;border-radius:14px!important}.nx42-help-links>span{min-height:52px!important}.nx42-help-links strong{font-size:10.5px!important}.nx42-help-links small{font-size:8.5px!important}.nx42-tip-card{padding:14px!important;border-radius:13px!important}.nx42-tip-card strong{font-size:12px!important}.nx42-tip-card p{font-size:9.5px!important}
}

/* ========================================================================== 
   v86 — VIEWPORT FIT + SIDEBAR COMPACTÁVEL
   - Visão geral ocupa a altura útil do navegador sem rolagem no desktop.
   - 1920x1080 e 1366x768 recebem densidades proporcionais por altura útil.
   - Sidebar volta a compactar/expandir pelo botão do cabeçalho e persiste.
   ========================================================================== */

@media (min-width:981px){
  :root{--nx86-topbar:64px;--nx86-sidebar-open:220px;--nx86-sidebar-closed:70px}

  /* O botão de menu passa a controlar a sidebar também no desktop. */
  .nx55-mobile-menu{
    display:grid!important;
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    place-items:center!important;
    border:0!important;
    border-radius:12px!important;
    background:#e7f7f3!important;
    color:#087f75!important;
    box-shadow:none!important;
    cursor:pointer!important;
  }
  .nx55-mobile-menu .icon{width:20px!important;height:20px!important}
  .nx55-mobile-menu:hover{background:#d9f2ed!important}
  .nx42-topbar{height:var(--nx86-topbar)!important}
  .nx42-topbar .topbar-left{display:flex!important;align-items:center!important;gap:12px!important;transform:none!important}

  /* Estado expandido canônico. */
  .nx42-sidebar{
    width:var(--nx86-sidebar-open)!important;
    transition:width .2s ease!important;
  }
  .nx42-workspace{
    margin-left:var(--nx86-sidebar-open)!important;
    height:100dvh!important;
    overflow:hidden!important;
    transition:margin-left .2s ease!important;
  }
  .nx42-main{
    height:calc(100dvh - var(--nx86-topbar))!important;
    box-sizing:border-box!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }

  /* Estado compacto persistente. */
  .nx42-app-shell.sidebar-collapsed .nx42-sidebar{width:var(--nx86-sidebar-closed)!important;padding:14px 11px 12px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-workspace{margin-left:var(--nx86-sidebar-closed)!important}
  .nx42-app-shell.sidebar-collapsed .nx42-side-brand{width:48px!important;height:52px!important;margin:0 0 10px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-side-brand>span{opacity:0!important;transform:translateX(-5px)!important;pointer-events:none!important}
  .nx42-app-shell.sidebar-collapsed .nx42-nav{width:48px!important;gap:7px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-nav .nav-item{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;justify-content:center!important;border-radius:11px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-nav .nav-item>span:not(.nav-badge),
  .nx42-app-shell.sidebar-collapsed .nx42-nav .nav-badge{display:none!important}
  .nx42-app-shell.sidebar-collapsed .nx42-side-footer{width:48px!important;padding-top:10px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry{width:48px!important;height:50px!important;padding:4px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry>span:nth-child(2),
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry>b{opacity:0!important;pointer-events:none!important}
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry .avatar{width:40px!important;height:40px!important;font-size:12px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-logout{width:48px!important;height:44px!important;padding:0!important;justify-content:center!important}
  .nx42-app-shell.sidebar-collapsed .nx42-logout>span{display:none!important}

  /* Visão geral: o grid usa exatamente a altura disponível, sem page-scroll. */
  .nx86-main-overview{
    overflow:hidden!important;
    padding:14px 24px 12px!important;
  }
  .nx86-main-overview>.nx42-overview{
    height:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-rows:auto auto minmax(0,1.14fr) minmax(0,.96fr)!important;
    row-gap:10px!important;
    overflow:hidden!important;
  }
  .nx86-main-overview .nx42-page-head,
  .nx86-main-overview .nx42-kpi-grid,
  .nx86-main-overview .nx42-overview-middle,
  .nx86-main-overview .nx42-overview-bottom{margin:0!important;min-height:0!important}
  .nx86-main-overview .nx42-overview-middle,
  .nx86-main-overview .nx42-overview-bottom{height:100%!important;align-items:stretch!important}
  .nx86-main-overview .nx42-finance-chart,
  .nx86-main-overview .nx42-import,
  .nx86-main-overview .nx42-overview-bottom>.nx42-card{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .nx86-main-overview .nx42-finance-chart{display:flex!important;flex-direction:column!important}
  .nx86-main-overview .nx66-chart-wrap{flex:1 1 auto!important;height:auto!important;min-height:0!important}
  .nx86-main-overview .nx66-chart{height:100%!important}
  .nx86-main-overview .nx42-import{display:flex!important;flex-direction:column!important}
  .nx86-main-overview .nx42-import .pdv-dropzone{flex:1 1 auto!important;min-height:0!important}
  .nx86-main-overview .nx42-overview-bottom>.nx42-card{display:flex!important;flex-direction:column!important}
  .nx86-main-overview .recent-table-v2,
  .nx86-main-overview .nx66-week-body{min-height:0!important;overflow:hidden!important}

  /* Densidade 1080p / viewport útil típico de navegador (~760–900 px). */
  @media (max-height:900px){
    .nx86-main-overview{padding:12px 22px 10px!important}
    .nx86-main-overview>.nx42-overview{row-gap:9px!important;grid-template-rows:auto auto minmax(0,1.12fr) minmax(0,.96fr)!important}
    .nx86-main-overview .nx42-page-head h1{font-size:40px!important}
    .nx86-main-overview .nx42-page-head p{font-size:11px!important;margin-top:5px!important}
    .nx86-main-overview .nx42-page-head{align-items:center!important}
    .nx86-main-overview .nx42-head-callout{height:56px!important;min-width:330px!important;padding:0 16px!important;border-radius:12px!important}
    .nx86-main-overview .nx42-head-callout strong{font-size:12px!important}
    .nx86-main-overview .nx42-head-callout svg{width:23px!important;height:23px!important}
    .nx86-main-overview .nx42-kpi-grid{gap:10px!important}
    .nx86-main-overview .nx42-kpi{min-height:88px!important;padding:11px 12px!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:9px!important;border-radius:13px!important}
    .nx86-main-overview .nx42-kpi-icon{width:40px!important;height:40px!important;border-radius:11px!important}
    .nx86-main-overview .nx42-kpi-icon svg{width:19px!important;height:19px!important}
    .nx86-main-overview .nx42-kpi small{font-size:11px!important}
    .nx86-main-overview .nx42-kpi strong{font-size:21px!important;margin:4px 0!important}
    .nx86-main-overview .nx42-kpi em,.nx86-main-overview .nx42-kpi em i{font-size:8.7px!important;line-height:1.2!important}
    .nx86-main-overview .nx42-overview-middle,.nx86-main-overview .nx42-overview-bottom{gap:10px!important}
    .nx86-main-overview .nx42-finance-chart,.nx86-main-overview .nx42-import,.nx86-main-overview .nx42-overview-bottom>.nx42-card{padding:12px!important;border-radius:13px!important}
    .nx86-main-overview .dashboard-card-head,.nx86-main-overview .compact-panel-head,.nx86-main-overview .nx42-panel-head{margin-bottom:5px!important}
    .nx86-main-overview .dashboard-card-head h3,.nx86-main-overview .compact-panel-head h3,.nx86-main-overview .nx42-panel-head h3{font-size:14px!important}
    .nx86-main-overview .dashboard-card-head p,.nx86-main-overview .compact-panel-head p,.nx86-main-overview .nx42-panel-head p,.nx86-main-overview .accepted-formats{font-size:8.5px!important;line-height:1.25!important}
    .nx86-main-overview .dashboard-title-icon,.nx86-main-overview .nx42-panel-icon{width:35px!important;height:35px!important;border-radius:10px!important}
    .nx86-main-overview .dashboard-title-icon svg,.nx86-main-overview .nx42-panel-icon svg{width:17px!important;height:17px!important}
    .nx86-main-overview .period-select,.nx86-main-overview .nx57-period-select{height:33px!important;font-size:9px!important}
    .nx86-main-overview .chart-legend.nx66-legend{font-size:8px!important;margin:-3px 4px 0!important}
    .nx86-main-overview .nx42-import .pdv-dropzone{margin-top:3px!important}
    .nx86-main-overview .nx42-import .pdv-dropzone strong{font-size:10px!important}
    .nx86-main-overview .nx42-import .pdv-dropzone span{font-size:8.5px!important}
    .nx86-main-overview .panel-link{font-size:9px!important}
    .nx86-main-overview .recent-table-v2,.nx86-main-overview .recent-head,.nx86-main-overview .recent-row{font-size:8px!important}
    .nx86-main-overview .recent-head,.nx86-main-overview .recent-row{padding:5px 5px!important}
    .nx86-main-overview .stock-row-v2{min-height:33px!important;padding:2px 0!important}
    .nx86-main-overview .stock-row-icon{width:29px!important;height:29px!important;border-radius:7px!important}
    .nx86-main-overview .stock-row-v2 strong{font-size:8.8px!important}
    .nx86-main-overview .stock-row-v2 small{font-size:7.6px!important}
  }

  /* 1366x768 e notebooks com viewport útil baixo. Mantém as mesmas proporções. */
  @media (max-height:720px){
    :root{--nx86-topbar:58px}
    .nx42-topbar{padding-left:16px!important;padding-right:16px!important}
    .nx55-mobile-menu{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:10px!important}
    .nx42-company-switch{height:40px!important;min-width:235px!important}
    .nx42-top-sync{font-size:9px!important}
    .nx86-main-overview{padding:8px 16px 8px!important}
    .nx86-main-overview>.nx42-overview{row-gap:7px!important;grid-template-rows:auto auto minmax(0,1.1fr) minmax(0,.94fr)!important}
    .nx86-main-overview .nx42-page-head h1{font-size:34px!important}
    .nx86-main-overview .nx42-page-head p{font-size:9.5px!important;margin-top:3px!important}
    .nx86-main-overview .nx42-head-callout{height:48px!important;min-width:285px!important;padding:0 13px!important}
    .nx86-main-overview .nx42-head-callout strong{font-size:10.5px!important}
    .nx86-main-overview .nx42-head-callout svg{width:20px!important;height:20px!important}
    .nx86-main-overview .nx42-kpi-grid{gap:8px!important}
    .nx86-main-overview .nx42-kpi{min-height:72px!important;padding:8px 9px!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:7px!important;border-radius:11px!important}
    .nx86-main-overview .nx42-kpi-icon{width:34px!important;height:34px!important;border-radius:9px!important}
    .nx86-main-overview .nx42-kpi-icon svg{width:17px!important;height:17px!important}
    .nx86-main-overview .nx42-kpi small{font-size:9.5px!important}
    .nx86-main-overview .nx42-kpi strong{font-size:18px!important;margin:3px 0!important}
    .nx86-main-overview .nx42-kpi em,.nx86-main-overview .nx42-kpi em i{font-size:7.5px!important}
    .nx86-main-overview .nx42-overview-middle,.nx86-main-overview .nx42-overview-bottom{gap:8px!important}
    .nx86-main-overview .nx42-finance-chart,.nx86-main-overview .nx42-import,.nx86-main-overview .nx42-overview-bottom>.nx42-card{padding:9px!important;border-radius:11px!important}
    .nx86-main-overview .dashboard-card-head h3,.nx86-main-overview .compact-panel-head h3,.nx86-main-overview .nx42-panel-head h3{font-size:12px!important}
    .nx86-main-overview .dashboard-card-head p,.nx86-main-overview .compact-panel-head p,.nx86-main-overview .nx42-panel-head p,.nx86-main-overview .accepted-formats{font-size:7.4px!important}
    .nx86-main-overview .dashboard-title-icon,.nx86-main-overview .nx42-panel-icon{width:30px!important;height:30px!important;border-radius:8px!important}
    .nx86-main-overview .dashboard-title-icon svg,.nx86-main-overview .nx42-panel-icon svg{width:15px!important;height:15px!important}
    .nx86-main-overview .period-select,.nx86-main-overview .nx57-period-select{height:29px!important;font-size:8px!important;min-width:110px!important}
    .nx86-main-overview .recent-table-v2,.nx86-main-overview .recent-head,.nx86-main-overview .recent-row{font-size:7.2px!important}
    .nx86-main-overview .recent-head,.nx86-main-overview .recent-row{padding:3px 4px!important}
    .nx86-main-overview .stock-row-v2{min-height:28px!important}
    .nx86-main-overview .stock-row-icon{width:25px!important;height:25px!important}
    .nx86-main-overview .stock-row-v2 strong{font-size:7.8px!important}
    .nx86-main-overview .stock-row-v2 small{font-size:6.8px!important}
    .nx86-main-overview .nx66-week-balance{padding:8px!important}
    .nx86-main-overview .nx66-week-action{min-height:46px!important;padding:7px!important}
  }
}

/* Em mobile o botão volta a ser exclusivamente o drawer e a sidebar ignora o estado desktop. */
@media(max-width:980px){
  .nx42-app-shell.sidebar-collapsed .nx42-workspace{margin-left:0!important}
  .nx42-app-shell.sidebar-collapsed .nx42-sidebar{width:220px!important;padding:14px 11px 12px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-side-brand,
  .nx42-app-shell.sidebar-collapsed .nx42-nav,
  .nx42-app-shell.sidebar-collapsed .nx42-side-footer,
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry,
  .nx42-app-shell.sidebar-collapsed .nx42-logout{width:194px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-side-brand>span,
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry>span:nth-child(2),
  .nx42-app-shell.sidebar-collapsed .nx42-profile-entry>b{opacity:1!important;transform:none!important;pointer-events:auto!important}
  .nx42-app-shell.sidebar-collapsed .nx42-nav .nav-item{width:194px!important;justify-content:flex-start!important;padding:0 14px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-nav .nav-item>span:not(.nav-badge),
  .nx42-app-shell.sidebar-collapsed .nx42-nav .nav-badge{display:inline-flex!important}
  .nx42-app-shell.sidebar-collapsed .nx42-logout{justify-content:flex-start!important;padding:0 14px!important}
  .nx42-app-shell.sidebar-collapsed .nx42-logout>span{display:inline!important}
}

/* ========================================================================== 
   v87 — OVERVIEW STOCK + SCROLL NATIVO + ICONOGRAFIA CANÔNICA
   ========================================================================== */

/* Ícones do NEXO: line art arredondado igual à linguagem das telas-base. */
.icon{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke;
}
:root{
  --nx87-icon-green:#07998c;
  --nx87-icon-green-bg:#e4f7f2;
  --nx87-icon-red:#ef4f5e;
  --nx87-icon-red-bg:#ffe8eb;
  --nx87-icon-blue:#2788e5;
  --nx87-icon-blue-bg:#e7f4ff;
  --nx87-icon-orange:#e49312;
  --nx87-icon-orange-bg:#fff0d9;
}
.nx42-kpi-icon.green{background:var(--nx87-icon-green-bg)!important;color:var(--nx87-icon-green)!important}
.nx42-kpi-icon.red{background:var(--nx87-icon-red-bg)!important;color:var(--nx87-icon-red)!important}
.nx42-kpi-icon.blue{background:var(--nx87-icon-blue-bg)!important;color:var(--nx87-icon-blue)!important}
.nx42-kpi-icon.orange{background:var(--nx87-icon-orange-bg)!important;color:var(--nx87-icon-orange)!important}
.nx42-overview .dashboard-title-icon,.nx42-panel-icon{background:var(--nx87-icon-green-bg)!important;color:var(--nx87-icon-green)!important}
.nx42-analytics-kpis .analytics-kpi:nth-child(1) .analytics-kpi-icon{background:var(--nx87-icon-green-bg)!important;color:var(--nx87-icon-green)!important}
.nx42-analytics-kpis .analytics-kpi:nth-child(2) .analytics-kpi-icon{background:var(--nx87-icon-red-bg)!important;color:var(--nx87-icon-red)!important}
.nx42-analytics-kpis .analytics-kpi:nth-child(3) .analytics-kpi-icon{background:var(--nx87-icon-blue-bg)!important;color:var(--nx87-icon-blue)!important}
.nx42-analytics-kpis .analytics-kpi:nth-child(4) .analytics-kpi-icon{background:var(--nx87-icon-orange-bg)!important;color:var(--nx87-icon-orange)!important}

@media (min-width:981px){
  /* A página volta a usar a rolagem NATIVA do navegador. Isso coloca a barra
     no canto direito real. Somente a Visão geral continua presa ao viewport. */
  html,body{min-height:100%;overflow-x:hidden!important}
  .nx42-workspace{
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
  }
  .nx42-main{
    height:auto!important;
    min-height:calc(100dvh - var(--nx86-topbar))!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
  }
  .nx86-main-overview{
    height:calc(100dvh - var(--nx86-topbar))!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  /* Estoque do dashboard: header de uma linha + corpo que nunca invade o CTA. */
  .nx86-main-overview .nx64-stock-card{overflow:hidden!important}
  .nx86-main-overview .nx64-stock-card>.compact-panel-head{
    grid-template-columns:35px minmax(0,1fr) auto!important;
    gap:7px!important;
    min-height:35px!important;
    margin-bottom:4px!important;
  }
  .nx86-main-overview .nx64-stock-card .compact-panel-head>div:nth-child(2){min-width:0!important}
  .nx86-main-overview .nx64-stock-card .compact-panel-head h3{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:12.4px!important;
    line-height:1.18!important;
  }
  .nx86-main-overview .nx64-stock-card .compact-panel-head p{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:8.2px!important;
  }
  .nx86-main-overview .nx64-stock-card .panel-link{
    white-space:nowrap!important;
    font-size:8.5px!important;
  }
  .nx86-main-overview .nx64-stock-card .nx66-stock-list{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .nx86-main-overview .nx64-stock-card .stock-row-v2{
    flex:1 1 0!important;
    min-height:0!important;
    max-height:34px!important;
    padding:2px 0!important;
  }
  .nx86-main-overview .nx64-stock-card .stock-row-icon{
    width:27px!important;
    height:27px!important;
  }
  .nx86-main-overview .nx64-stock-card .stock-row-v2 strong{font-size:8.5px!important;line-height:1.15!important}
  .nx86-main-overview .nx64-stock-card .stock-row-v2 small{font-size:7.2px!important;line-height:1.1!important}
  .nx86-main-overview .nx64-stock-card .stock-row-v2>b{font-size:8.8px!important;line-height:1.05!important}
  .nx86-main-overview .nx64-stock-card .stock-row-v2>b small{font-size:6.8px!important}
  .nx86-main-overview .nx64-stock-card .nx66-stock-more{
    flex:0 0 28px!important;
    min-height:28px!important;
    height:28px!important;
    margin-top:4px!important;
    padding:3px 7px!important;
    border-radius:8px!important;
    position:relative!important;
    z-index:2!important;
  }
  .nx86-main-overview .nx64-stock-card .nx66-stock-more strong{font-size:9px!important}
  .nx86-main-overview .nx64-stock-card .nx66-stock-more span{font-size:8px!important}

  /* A família visual dos ícones-base usa containers macios e line art limpo. */
  .nx42-kpi-icon,.nx42-panel-icon,.dashboard-title-icon,.analytics-kpi-icon,
  .nx66-week-icon,.nx67-finance-kpi-icon,.nx42-profile-meta>div>svg,
  .nx42-section-title>span,.nx42-help-links>span>svg{
    box-shadow:none!important;
  }
}

@media (min-width:981px) and (max-height:720px){
  .nx86-main-overview .nx64-stock-card>.compact-panel-head{grid-template-columns:30px minmax(0,1fr) auto!important;min-height:30px!important}
  .nx86-main-overview .nx64-stock-card .compact-panel-head h3{font-size:10.8px!important}
  .nx86-main-overview .nx64-stock-card .compact-panel-head p{font-size:7px!important}
  .nx86-main-overview .nx64-stock-card .panel-link{font-size:7.4px!important}
  .nx86-main-overview .nx64-stock-card .stock-row-v2{max-height:30px!important}
  .nx86-main-overview .nx64-stock-card .stock-row-icon{width:24px!important;height:24px!important}
  .nx86-main-overview .nx64-stock-card .nx66-stock-more{height:25px!important;min-height:25px!important;flex-basis:25px!important}
}

/* ===== NEXO Web 1.0.9 / assets 89 — responsividade desktop + Caixa e Bancos ===== */
/* Login: composição responsiva com arte vetorial nítida e rodapé sempre reservado. */
.nx44-login-page{
  display:grid!important;
  grid-template-columns:minmax(390px,520px) minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:14px 28px!important;
  padding:clamp(18px,2vw,34px)!important;
  background:#edf9f7!important;
}
.nx44-login-bg{
  position:relative!important;inset:auto!important;z-index:0!important;
  grid-column:2!important;grid-row:1 / 3!important;
  min-width:0!important;min-height:0!important;
  border-radius:30px!important;
  background-color:transparent!important;
  background-image:url('/assets/nexo-login-illustration.svg?v=89')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  opacity:1!important;
}
.nx44-login-card{
  position:relative!important;left:auto!important;top:auto!important;transform:none!important;
  grid-column:1!important;grid-row:1!important;
  align-self:center!important;justify-self:end!important;
  width:min(100%,500px)!important;
  max-height:calc(100svh - 112px)!important;
  overflow:auto!important;
  scrollbar-width:thin!important;
}
.nx44-login-footer{
  position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  grid-column:1 / -1!important;grid-row:2!important;
  min-height:34px!important;
  align-self:end!important;
}
@media(min-width:981px) and (max-width:1500px){
  .nx44-login-page{grid-template-columns:minmax(365px,445px) minmax(0,1fr)!important;gap:10px 18px!important;padding:14px 22px!important}
  .nx44-login-card{width:min(100%,438px)!important;padding:22px 28px 20px!important;max-height:calc(100svh - 78px)!important}
  .nx44-login-cardbrand{margin-bottom:17px!important}.nx44-login-cardbrand img{width:37px!important;height:37px!important}.nx44-login-cardbrand strong{font-size:21px!important}
  .nx44-login-copy h1{font-size:32px!important}.nx44-login-copy p{margin:8px 0 15px!important;font-size:12px!important}
  .nx44-login-form{gap:8px!important}.nx44-input{height:40px!important}.nx44-primary,.nx44-secondary{height:42px!important}.nx44-login-help{margin-top:10px!important;padding-top:13px!important}
  .nx44-login-footer{font-size:8px!important;min-height:27px!important}.nx44-footer-brand small{font-size:7.5px!important}.nx44-login-footer nav button,.nx44-login-footer nav span{font-size:8px!important}
}
@media(min-width:981px) and (max-height:720px){
  .nx44-login-page{padding-top:9px!important;padding-bottom:9px!important;grid-template-rows:minmax(0,1fr) 24px!important}
  .nx44-login-card{padding:17px 25px 15px!important;max-height:calc(100svh - 48px)!important}
  .nx44-login-cardbrand{margin-bottom:12px!important}.nx44-login-copy h1{font-size:28px!important}.nx44-login-copy p{font-size:11px!important;margin:6px 0 11px!important}
  .nx44-login-form{gap:6px!important}.nx44-login-form>label>span{font-size:10px!important;margin-bottom:5px!important}.nx44-input{height:37px!important}
  .nx44-primary,.nx44-secondary{height:38px!important}.nx44-login-help{margin-top:8px!important;padding-top:10px!important}.nx44-login-help small{display:none!important}
}
@media(max-width:980px){
  .nx44-login-page{display:flex!important;padding:18px!important;align-items:center!important;justify-content:center!important}
  .nx44-login-bg{position:absolute!important;inset:0!important;display:block!important;background-size:cover!important;background-position:center!important;opacity:.16!important;border-radius:0!important}
  .nx44-login-card{grid-column:auto!important;grid-row:auto!important;width:min(500px,100%)!important;max-height:calc(100svh - 36px)!important}
  .nx44-login-footer{display:none!important}
}

/* Desktop compacto: 1366×768 / 1600×900 mantém a mesma visão lógica do 1920×1080. */
@media(min-width:981px) and (max-width:1500px){
  .nx42-sidebar{width:58px!important;padding:9px 5px!important}.nx42-sidebar:hover{width:205px!important}.nx42-workspace{margin-left:58px!important}
  .nx42-side-brand{width:46px!important;height:45px!important;margin-bottom:5px!important}.nx42-side-brand img{width:37px!important;height:37px!important}.nx42-nav{width:46px!important;gap:4px!important}.nx42-nav .nav-item{width:46px!important;height:42px!important;min-height:42px!important}.nx42-nav .nav-item svg{width:18px!important;height:18px!important}.nx42-side-footer{width:46px!important;padding-top:5px!important}.nx42-profile-entry{width:46px!important;height:45px!important}.nx42-profile-entry .avatar{width:36px!important;height:36px!important;flex-basis:36px!important}.nx42-logout{width:46px!important;height:39px!important;margin-top:5px!important}
  .nx42-topbar{height:54px!important;padding:0 16px!important}.nx42-company-switch{height:37px!important;min-width:220px!important}.nx42-main{padding:12px 16px 16px!important}
  .nx42-page-head{margin-bottom:9px!important}.nx42-page-head h1,.nx67-finance-head h1{font-size:31px!important}.nx42-page-head p,.nx67-finance-head p{font-size:9px!important}
  .nx42-head-callout{min-height:42px!important;padding:7px 12px!important}.nx42-head-callout strong{font-size:9px!important}
  .nx42-kpi-grid{gap:8px!important;margin-bottom:8px!important}.nx42-kpi{min-height:82px!important;padding:9px!important;grid-template-columns:36px 1fr auto!important;gap:8px!important}.nx42-kpi-icon{width:36px!important;height:36px!important;border-radius:10px!important}.nx42-kpi-icon svg{width:18px!important;height:18px!important}.nx42-kpi small{font-size:8px!important}.nx42-kpi strong{font-size:17px!important;margin:4px 0!important}.nx42-kpi em{font-size:7px!important}.nx42-kpi em i{display:none!important}
  .nx42-overview-middle{grid-template-columns:minmax(0,2.5fr) minmax(240px,.85fr)!important;gap:8px!important;margin-bottom:8px!important}.nx42-overview-bottom{gap:8px!important}.nx42-card{border-radius:10px!important}.nx42-finance-chart,.nx42-import{padding:10px!important}.nx42-overview .finance-chart-v2{height:150px!important}.nx42-import .pdv-dropzone{min-height:92px!important}.nx42-overview .compact-panel-head{grid-template-columns:33px 1fr auto!important;gap:6px!important}.nx42-overview .dashboard-title-icon,.nx42-panel-icon{width:33px!important;height:33px!important}.nx42-overview .compact-panel-head h3{font-size:11px!important}.nx42-overview .recent-head,.nx42-overview .recent-row{padding:5px!important}.nx42-overview .stock-row-v2{min-height:32px!important}.nx42-overview .stock-row-icon{width:28px!important;height:28px!important}
  .nx42-selector-content{padding:24px 28px 14px!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:20px!important}.nx42-selector-copy h1{font-size:38px!important;margin:8px 0 5px!important}.nx42-selector-copy h2{font-size:19px!important}.nx42-selector-copy p{font-size:11px!important;margin-top:10px!important}.nx42-selector-controls{margin:22px 0 24px!important;gap:12px!important}.nx42-selector-controls>label{height:44px!important}.nx42-sort select{height:44px!important}.nx42-company-grid{grid-template-columns:repeat(auto-fit,205px)!important;gap:10px!important}.nx42-company-card{width:205px!important;min-height:184px!important;padding:12px!important}.nx42-company-add{min-height:184px!important}.nx42-company-logo{width:64px!important;height:64px!important;margin-bottom:8px!important}.nx42-company-copy>strong{font-size:13px!important}.nx42-role{margin-top:9px!important;padding:5px 8px!important;font-size:8px!important}.nx42-tool-card{min-height:105px!important;padding:14px!important}.nx42-selector-tools #selector-help,.nx42-selector-promo{min-height:130px!important}.nx42-selector-footer{padding:10px 28px 12px!important}
  .nx69-finance-top{gap:8px!important}.nx69-kpi-grid{gap:8px!important}.nx69-finance-layout{gap:8px!important}.nx69-ledger-head{padding-bottom:7px!important}.nx74-finance-tools{gap:6px!important}.nx67-finance-search{min-width:220px!important}
  .nx42-analytics-filter{padding:10px!important;gap:8px!important}.nx42-analytics-kpis{gap:8px!important}.nx42-analytics-main,.nx42-analytics-bottom{gap:8px!important}
}
@media(min-width:981px) and (max-height:720px){
  .nx42-topbar{height:48px!important}.nx42-main{padding-top:8px!important}.nx42-page-head{margin-bottom:6px!important}.nx42-page-head h1,.nx67-finance-head h1{font-size:28px!important}.nx42-kpi{min-height:73px!important}.nx42-overview .finance-chart-v2{height:128px!important}.nx42-overview-bottom{font-size:.92em!important}
  .nx42-selector-content{padding-top:17px!important}.nx42-selector-copy h1{font-size:34px!important}.nx42-selector-controls{margin:15px 0 17px!important}.nx42-company-card,.nx42-company-add{min-height:165px!important}.nx42-selector-tools #selector-help,.nx42-selector-promo{min-height:114px!important}
}

/* Caixa e Bancos */
.nx89-cash-strip{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,2.2fr) auto;align-items:center;gap:14px;margin:0 0 12px;padding:12px 14px;border:1px solid #dce9e7;border-radius:12px;background:linear-gradient(105deg,#f4fcfa,#fff);box-shadow:0 4px 15px rgba(14,60,60,.03)}
.nx89-cash-main{display:flex;align-items:center;gap:11px}.nx89-cash-icon{width:42px;height:42px;border-radius:13px;background:#dff7f1;color:#087f76;display:grid;place-items:center;flex:0 0 42px}.nx89-cash-icon svg{width:20px;height:20px}.nx89-cash-main>div,.nx89-finance-cash>div>div{display:flex;flex-direction:column}.nx89-cash-main small,.nx89-finance-cash small{font-size:8px;font-weight:900;letter-spacing:.08em;color:#0a8c82}.nx89-cash-main strong,.nx89-finance-cash strong{margin:2px 0;font-size:19px;color:#0d293b;letter-spacing:-.035em}.nx89-cash-main em,.nx89-finance-cash em{font-style:normal;font-size:8px;color:#758792}
.nx89-cash-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.nx89-cash-breakdown>span{min-width:0;padding:8px 9px;border-radius:9px;background:#f5f9f8;border:1px solid #e7efee;display:flex;flex-direction:column}.nx89-cash-breakdown small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7.5px;color:#72858b}.nx89-cash-breakdown b{margin-top:3px;font-size:10px;color:#163a3a}.nx89-cash-breakdown b.negative,.nx89-history-row b.negative{color:#d94758}.nx89-cash-breakdown .empty{grid-column:1/-1;text-align:center}.nx89-cash-open{height:42px;border:1px solid #cfe4e1;border-radius:10px;background:#fff;color:#087f76;padding:0 12px;display:flex;align-items:center;gap:7px;font-size:9px;font-weight:800;cursor:pointer}.nx89-cash-open svg{width:14px;height:14px}
.nx89-finance-cash{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:10px 0;padding:12px 15px;border:1px solid #dfe9e8;border-radius:12px;background:linear-gradient(110deg,#f1fbf8,#fff)}.nx89-finance-cash>div{display:flex;align-items:center;gap:11px}.nx89-finance-cash .nx42-secondary{height:38px!important;font-size:9px!important}
.nx89-cash-modal{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(210px,.7fr);gap:20px}.nx89-cash-date-total{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.nx89-cash-date-total>label,.nx89-cash-date-total>div{border:1px solid #dfe9e8;border-radius:12px;padding:11px 12px;background:#fafdfc}.nx89-cash-date-total span,.nx89-cash-date-total small,.nx89-cash-row small{display:block;font-size:8px;color:#71868a;font-weight:700}.nx89-cash-date-total input{width:100%;margin-top:5px;border:0;outline:0;background:transparent;color:#173a3b;font-weight:800}.nx89-cash-date-total strong{display:block;margin:3px 0;font-size:20px;color:#0b746e}.nx89-cash-date-total em{font-style:normal;font-size:8px;color:#82918f}.nx89-cash-entries{display:grid;gap:7px;max-height:390px;overflow:auto;padding-right:3px}.nx89-cash-row{display:grid;grid-template-columns:18px minmax(150px,1.35fr) minmax(105px,.65fr) minmax(120px,1fr) 28px;gap:7px;align-items:end;padding:8px;border:1px solid #e1eae9;border-radius:11px;background:#fff}.nx89-cash-drag{color:#9dadaa;align-self:center}.nx89-cash-row label{min-width:0}.nx89-cash-row input:not([type=hidden]){width:100%;height:34px;margin-top:3px;border:1px solid #dbe7e6;border-radius:8px;padding:0 9px;outline:0;background:#fbfdfd;color:#173a3b;font-size:10px}.nx89-cash-row input:focus{border-color:#75bdb6;box-shadow:0 0 0 2px rgba(8,139,129,.08)}.nx89-cash-remove{width:28px;height:34px;border:0;border-radius:8px;background:#fff2f4;color:#d84959;font-size:19px;cursor:pointer}.nx89-add-account{margin-top:9px;border:1px dashed #9fcfc9;background:#f7fcfb;color:#087e75;border-radius:10px;height:39px;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;font-size:9px;font-weight:800}.nx89-add-account svg{width:15px;height:15px}.nx89-cash-modal aside{border-left:1px solid #e6eeee;padding-left:16px}.nx89-history-head{display:flex;flex-direction:column;margin-bottom:10px}.nx89-history-head strong{font-size:12px;color:#183a3a}.nx89-history-head small{font-size:8px;color:#7e8e8d;margin-top:2px}.nx89-cash-history{display:grid;gap:6px;max-height:480px;overflow:auto}.nx89-history-row{border:1px solid #e2eae9;background:#fff;border-radius:9px;padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer}.nx89-history-row span{display:flex;flex-direction:column}.nx89-history-row strong{font-size:9px;color:#173a3b}.nx89-history-row small{font-size:7px;color:#81918f;margin-top:2px}.nx89-history-row b{font-size:9px;color:#087c74}.nx89-history-empty{padding:20px 10px;text-align:center;color:#849493;font-size:9px}
@media(min-width:981px) and (max-width:1500px){.nx89-cash-strip{padding:8px 10px;gap:8px;margin-bottom:8px;grid-template-columns:minmax(190px,.8fr) minmax(0,2fr) auto}.nx89-cash-icon{width:35px;height:35px;flex-basis:35px}.nx89-cash-main strong{font-size:15px}.nx89-cash-breakdown>span{padding:6px}.nx89-cash-breakdown b{font-size:8px}.nx89-cash-open{height:35px;padding:0 8px}.nx89-finance-cash{margin:7px 0;padding:8px 10px}.nx89-finance-cash strong{font-size:15px}}
@media(max-width:980px){.nx89-cash-strip{grid-template-columns:1fr;gap:10px}.nx89-cash-breakdown{grid-template-columns:1fr 1fr}.nx89-cash-open{justify-content:center}.nx89-cash-modal{grid-template-columns:1fr}.nx89-cash-modal aside{border-left:0;border-top:1px solid #e6eeee;padding:14px 0 0}.nx89-cash-row{grid-template-columns:16px 1fr 110px 28px}.nx89-cash-row .note{grid-column:2 / 4}.nx89-finance-cash{align-items:flex-start;flex-direction:column}.nx89-cash-date-total{grid-template-columns:1fr}}
