/*
 * NEXO Web — stylesheet canonical de produção
 * Consolidado em 09/09/2026.
 * Regra daqui em diante: este arquivo é atualizado em lugar de criar CSS vXX adicionais.
 */

:root{
  --bg:#f3f7f6;--bg-2:#edf4f2;--surface:#ffffff;--surface-2:#f8fbfa;--surface-3:#eef8f6;
  --text:#123b3d;--text-2:#49686a;--muted:#7f9697;--line:#dbe7e5;--line-2:#cfe0de;
  --brand:#0e8f86;--brand-2:#0a746e;--brand-3:#0b5f5b;--brand-soft:#dff4f1;--brand-softer:#eef9f7;
  --danger:#d0445d;--danger-soft:#fcebef;--warning:#a66d00;--warning-soft:#fff3d8;--success:#19795f;--success-soft:#e5f5ef;
  --shadow:0 14px 42px rgba(24,67,65,.09);--shadow-soft:0 7px 22px rgba(24,67,65,.07);
  --radius:22px;--radius-sm:14px;--sidebar:272px;--topbar:86px;
  --font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font);color:var(--text);background:var(--bg)}
body{min-height:100vh;background:
 radial-gradient(circle at 82% 5%,rgba(95,196,188,.15),transparent 27rem),
 radial-gradient(circle at 8% 92%,rgba(95,196,188,.11),transparent 32rem),var(--bg)}
button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}
svg{display:block}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* LOGIN */
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(440px,1.15fr) minmax(430px,.85fr);position:relative;overflow:hidden}
.login-visual{padding:clamp(44px,6vw,96px);display:flex;flex-direction:column;justify-content:space-between;position:relative}
.login-visual:before{content:"";position:absolute;inset:-15%;background:radial-gradient(circle at 28% 35%,rgba(14,143,134,.17),transparent 24rem),radial-gradient(circle at 65% 72%,rgba(14,143,134,.09),transparent 28rem);pointer-events:none}
.login-brand,.login-copy,.login-proof{position:relative;z-index:1}.login-brand{display:flex;align-items:center;gap:18px}.brand-mark{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#11a096,#08756f);display:grid;place-items:center;box-shadow:0 14px 32px rgba(14,143,134,.22);overflow:hidden}.brand-mark img{width:74%;height:74%;object-fit:contain;filter:brightness(0) invert(1)}
.brand-word{font-weight:800;font-size:27px;letter-spacing:-.04em}.brand-tag{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--brand);font-weight:800;margin-top:3px}
.login-copy{max-width:720px}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:18px}.eyebrow:before{content:"";width:24px;height:2px;background:var(--brand);border-radius:3px}
.login-copy h1{font-size:clamp(44px,5.7vw,76px);line-height:.98;letter-spacing:-.055em;margin:0 0 24px;max-width:780px}.login-copy p{font-size:18px;line-height:1.65;color:var(--text-2);max-width:620px;margin:0}
.login-proof{display:flex;gap:12px;flex-wrap:wrap}.proof-chip{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid var(--line);background:rgba(255,255,255,.66);backdrop-filter:blur(10px);border-radius:999px;color:var(--text-2);font-size:13px;font-weight:700}.proof-dot{width:8px;height:8px;border-radius:50%;background:var(--brand)}
.login-panel{display:flex;align-items:center;justify-content:center;padding:42px 5vw 42px 2vw;position:relative;z-index:1}.login-card{width:min(100%,480px);background:rgba(255,255,255,.92);border:1px solid rgba(205,225,222,.9);box-shadow:0 28px 80px rgba(18,59,61,.14);border-radius:30px;padding:38px;backdrop-filter:blur(18px)}
.login-card-header{margin-bottom:28px}.login-card h2{font-size:30px;letter-spacing:-.035em;margin:0 0 8px}.login-card p{color:var(--text-2);line-height:1.55;margin:0}.field{display:grid;gap:8px;margin-bottom:16px}.field label{font-size:13px;font-weight:800;color:var(--text)}.field input,.field select,.field textarea{width:100%;min-height:52px;border:1px solid var(--line);border-radius:14px;background:#fbfdfd;padding:0 15px;color:var(--text);outline:none;transition:.18s}.field textarea{padding:13px 15px;min-height:96px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:rgba(14,143,134,.62);box-shadow:0 0 0 4px rgba(14,143,134,.09);background:#fff}
.primary-btn,.secondary-btn,.ghost-btn,.danger-btn{border:0;border-radius:14px;min-height:46px;padding:0 18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.18s}.primary-btn{color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 9px 20px rgba(14,143,134,.2)}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(14,143,134,.24)}.primary-btn:disabled{opacity:.58;cursor:not-allowed;transform:none}.secondary-btn{color:var(--brand-3);background:var(--brand-soft);border:1px solid #cbeae6}.ghost-btn{background:#fff;border:1px solid var(--line);color:var(--text-2)}.danger-btn{background:var(--danger-soft);color:var(--danger)}
.login-submit{width:100%;min-height:54px;margin-top:6px}.login-error{display:none;margin:15px 0 0;padding:12px 14px;border-radius:12px;background:var(--danger-soft);color:var(--danger);font-size:13px;font-weight:700}.login-error.show{display:block}.login-footer{margin-top:22px;text-align:center;font-size:12px;color:var(--muted)}

/* APP SHELL */
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:22px 17px 20px;background:rgba(255,255,255,.9);border-right:1px solid var(--line);backdrop-filter:blur(18px);z-index:40;display:flex;flex-direction:column}.side-brand{display:flex;align-items:center;gap:12px;padding:7px 9px 20px}.side-brand .brand-mark{width:43px;height:43px;border-radius:13px}.side-brand .brand-word{font-size:21px}.company-switch{margin:0 0 18px;padding:12px;border:1px solid var(--line);border-radius:17px;background:var(--surface-2);display:flex;align-items:center;gap:10px;min-height:66px;cursor:pointer;transition:.18s}.company-switch:hover{border-color:#bcdcd8;background:#f5fbfa}.company-logo{width:40px;height:40px;border-radius:12px;background:var(--brand-soft);object-fit:contain;padding:3px;flex:none}.company-logo.fallback{display:grid;place-items:center;color:var(--brand-2);font-weight:800;padding:0}.company-switch-copy{min-width:0;flex:1}.company-switch-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.company-switch-copy span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.nav-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#9babab;padding:0 12px 8px;margin-top:6px}.nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#5f7779;min-height:46px;border-radius:14px;padding:0 12px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:800;font-size:14px;transition:.18s}.nav-item .icon{width:19px;height:19px}.nav-item:hover{background:#f2f7f6;color:var(--text)}.nav-item.active{background:linear-gradient(135deg,#def3f0,#eaf8f6);color:var(--brand-2)}.nav-item.active .nav-badge{background:#fff}.nav-badge{margin-left:auto;font-size:10px;padding:3px 7px;border-radius:999px;background:#edf3f2;color:var(--muted)}
.side-footer{margin-top:auto;border-top:1px solid var(--line);padding:16px 8px 0}.user-mini{display:flex;align-items:center;gap:10px;margin-bottom:12px}.avatar{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--brand-soft),#d3efeb);color:var(--brand-2);display:grid;place-items:center;font-weight:800;flex:none}.user-mini strong{display:block;font-size:12px}.user-mini span{font-size:10px;color:var(--muted);display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.logout{width:100%;justify-content:flex-start;padding-left:10px;background:transparent;color:var(--danger);min-height:38px;border-radius:10px;border:0;font-weight:800}

.workspace{min-width:0}.topbar{height:var(--topbar);position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:16px 32px;border-bottom:1px solid rgba(219,231,229,.8);background:rgba(243,247,246,.82);backdrop-filter:blur(18px)}.topbar-left{display:flex;align-items:center;gap:14px;min-width:0}.mobile-menu{display:none}.page-kicker{font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--brand);margin-bottom:4px}.page-title{font-size:25px;letter-spacing:-.035em;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-subtitle{font-size:12px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-actions{display:flex;align-items:center;gap:9px}.round-btn{width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--text-2);display:grid;place-items:center;box-shadow:var(--shadow-soft);transition:.18s}.round-btn:hover{transform:translateY(-1px);color:var(--brand-2);border-color:#bcdcd8}.sync-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--success);right:7px;top:7px;border:2px solid #fff}.round-wrap{position:relative}.top-user{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:5px 9px 5px 6px;box-shadow:var(--shadow-soft)}.top-user .avatar{width:34px;height:34px;border-radius:10px}.top-user-copy strong{font-size:11px;display:block}.top-user-copy span{font-size:9px;color:var(--muted)}

.main{padding:28px 32px 48px;max-width:1760px;margin:0 auto;width:100%}.view{display:none;animation:fadeView .2s ease}.view.active{display:block}@keyframes fadeView{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.hero-title h1{font-size:34px;letter-spacing:-.045em;margin:0 0 7px}.hero-title p{margin:0;color:var(--text-2);font-size:14px;line-height:1.55}.hero-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.updated-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.updated-label:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--success)}

.grid{display:grid;gap:16px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px}.card{background:rgba(255,255,255,.93);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.kpi{padding:19px 20px;min-height:142px;position:relative;overflow:hidden}.kpi:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:var(--brand-softer);right:-40px;bottom:-50px}.kpi-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kpi-icon{width:38px;height:38px;border-radius:12px;background:var(--brand-soft);color:var(--brand-2);display:grid;place-items:center}.kpi-label{font-size:11px;color:var(--muted);font-weight:800;margin-top:12px}.kpi-value{font-size:27px;letter-spacing:-.035em;font-weight:800;margin-top:4px}.kpi-foot{font-size:11px;color:var(--text-2);margin-top:5px}.trend{font-size:10px;font-weight:800;padding:5px 8px;border-radius:999px;background:var(--success-soft);color:var(--success)}.trend.warn{background:var(--warning-soft);color:var(--warning)}

.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);align-items:start}.stack{display:grid;gap:16px}.panel{padding:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-title{font-weight:800;font-size:17px;letter-spacing:-.02em}.panel-sub{font-size:11px;color:var(--muted);margin-top:3px}.panel-link{border:0;background:transparent;color:var(--brand-2);font-weight:700;font-size:11px;padding:7px 0}.chart-wrap{height:235px;display:flex;align-items:stretch;gap:14px;padding:12px 4px 0;border-top:1px solid #eef3f2}.bar-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:36px}.bar-value{font-size:10px;color:var(--muted);margin-bottom:6px;height:14px}.bar-track{height:170px;width:min(50px,70%);display:flex;align-items:flex-end;background:#f3f7f6;border-radius:10px 10px 4px 4px;overflow:hidden}.bar{width:100%;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,#24a99f,var(--brand-2));min-height:2px}.bar-label{font-size:10px;color:var(--muted);font-weight:800;margin-top:8px;text-transform:capitalize}.list{display:grid}.list-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #edf2f1}.list-row:first-child{border-top:0;padding-top:0}.list-row:last-child{padding-bottom:0}.list-icon{width:36px;height:36px;border-radius:11px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center}.list-main{min-width:0}.list-main strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-main span{font-size:10px;color:var(--muted);display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-side{text-align:right}.list-side strong{font-size:11px;display:block}.list-side span{font-size:9px;color:var(--muted);display:block;margin-top:3px}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:800;background:var(--surface-3);color:var(--text-2)}.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.paid{background:var(--success-soft);color:var(--success)}.status-pill.open{background:var(--warning-soft);color:var(--warning)}.status-pill.late{background:var(--danger-soft);color:var(--danger)}
.progress-box{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}.progress-ring{--p:0;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--brand) calc(var(--p)*1%),#e8f0ef 0);position:relative}.progress-ring:before{content:"";position:absolute;width:58px;height:58px;border-radius:50%;background:#fff}.progress-ring strong{position:relative;font-size:15px}.progress-copy strong{font-size:13px}.progress-copy p{font-size:10px;color:var(--muted);line-height:1.5;margin:4px 0 0}
.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;padding:13px;display:flex;align-items:center;gap:10px;color:var(--text);text-align:left;transition:.18s}.quick-card:hover{border-color:#bddbd7;background:#fff;transform:translateY(-1px)}.quick-card .list-icon{width:34px;height:34px}.quick-card strong{font-size:11px}.quick-card span{display:block;color:var(--muted);font-size:9px;margin-top:2px}

/* TOOLBAR + TABLE */
.toolbar{padding:12px;display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:9px;margin-bottom:16px}.search-input,.select-input,.date-input{height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);padding:0 13px;outline:none}.search-input:focus,.select-input:focus,.date-input:focus{border-color:#acd5d0;box-shadow:0 0 0 3px rgba(14,143,134,.07)}.table-card{overflow:hidden}.table-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:900px}.data-table th{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-align:left;padding:12px 18px;background:#f8fbfa;border-bottom:1px solid var(--line)}.data-table td{font-size:11px;padding:13px 18px;border-bottom:1px solid #edf2f1;vertical-align:middle}.data-table tbody tr:hover{background:#fbfdfd}.data-table tbody tr:last-child td{border-bottom:0}.money{text-align:right;font-weight:800}.td-main strong{display:block;font-size:11px;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.td-main span{font-size:9px;color:var(--muted);display:block;margin-top:2px}.category-chip{padding:5px 8px;border-radius:8px;background:#f0f6f5;color:var(--text-2);font-size:9px;font-weight:800}.empty{padding:48px 24px;text-align:center;color:var(--muted);font-size:12px}.empty-icon{width:52px;height:52px;margin:0 auto 12px;border-radius:16px;background:var(--brand-softer);color:var(--brand-2);display:grid;place-items:center}.empty-icon .icon{width:24px;height:24px}

/* STOCK */
.tabbar{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:14px;background:#fff;gap:3px;margin-bottom:16px}.tab-btn{min-height:38px;border:0;border-radius:10px;background:transparent;padding:0 15px;color:var(--muted);font-size:11px;font-weight:700}.tab-btn.active{background:var(--brand);color:#fff;box-shadow:0 5px 12px rgba(14,143,134,.18)}.stats-row{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.mini-stat{padding:16px 18px}.mini-stat span{font-size:10px;color:var(--muted);font-weight:800}.mini-stat strong{font-size:20px;display:block;margin-top:5px;letter-spacing:-.03em}.product-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.product-card{padding:11px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft);transition:.18s;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center}.product-card:hover{transform:translateY(-2px);border-color:#bddbd7;box-shadow:var(--shadow)}.product-image{width:64px;height:64px;border-radius:14px;background:#f4f8f7;object-fit:contain;padding:5px}.product-image-fallback{display:grid;place-items:center;color:#8aa3a4}.product-copy{min-width:0}.product-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-copy .meta{font-size:9px;color:var(--muted);margin-top:3px}.product-numbers{display:flex;gap:12px;margin-top:8px}.product-numbers span{font-size:9px;color:var(--muted)}.product-numbers b{font-size:11px;color:var(--text);margin-left:3px}.stock-warning{color:var(--danger)!important}.recipe-price{margin-top:7px;font-size:11px;font-weight:800;color:var(--brand-2)}

/* ROUTINE */
.routine-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start}.routine-blocks{display:grid;gap:12px}.routine-block{padding:16px 18px}.routine-head{display:flex;align-items:center;gap:11px;margin-bottom:12px}.routine-head .list-icon{width:38px;height:38px}.routine-head-copy{flex:1;min-width:0}.routine-head-copy strong{font-size:13px;display:block}.routine-head-copy span{font-size:9px;color:var(--muted);display:block;margin-top:3px}.routine-percent{font-size:11px;font-weight:800;color:var(--brand-2)}.routine-progress{height:7px;border-radius:999px;background:#e9f0ef;overflow:hidden;margin-bottom:12px}.routine-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--brand),#39afa6);border-radius:999px}.task-list{display:grid;gap:7px}.task{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--text-2)}.check{width:18px;height:18px;border-radius:6px;border:1px solid #cbdcda;background:#fff;display:grid;place-items:center;color:#fff;flex:none}.task.done .check{background:var(--brand);border-color:var(--brand)}.task.done{color:#8aa0a1}.task.done .task-name{text-decoration:line-through}.routine-summary{padding:20px;position:sticky;top:calc(var(--topbar) + 16px)}

/* REGISTERS */
.register-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}.register-card{padding:14px;display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:center}.register-logo{width:58px;height:58px;border-radius:14px;background:#f4f8f7;object-fit:contain;padding:4px}.register-copy{min-width:0}.register-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.register-copy span{font-size:9px;color:var(--muted);display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.register-footer{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.tiny-chip{font-size:8px;font-weight:700;color:var(--text-2);background:#eef4f3;border-radius:999px;padding:4px 7px}

/* SETTINGS */
.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.setting-card{padding:18px;display:flex;gap:13px;align-items:flex-start;min-height:104px}.setting-card .list-icon{width:42px;height:42px;flex:none}.setting-copy{flex:1}.setting-copy strong{font-size:13px}.setting-copy p{font-size:10px;line-height:1.5;color:var(--muted);margin:5px 0 0}.setting-state{font-size:8px;font-weight:800;border-radius:999px;padding:5px 8px;background:var(--brand-softer);color:var(--brand-2);white-space:nowrap}.company-profile{padding:20px;margin-bottom:16px;display:flex;align-items:center;gap:16px}.company-profile .company-logo{width:64px;height:64px;border-radius:17px}.company-profile-copy{min-width:0}.company-profile-copy .eyebrow{font-size:9px;margin-bottom:5px}.company-profile-copy .eyebrow:before{display:none}.company-profile-copy h3{margin:0;font-size:19px}.company-profile-copy p{margin:4px 0 0;color:var(--muted);font-size:10px}.company-facts{margin-left:auto;display:flex;gap:24px}.company-fact{text-align:right}.company-fact span{display:block;font-size:8px;color:var(--muted)}.company-fact strong{display:block;font-size:10px;margin-top:3px;max-width:210px}.api-card{padding:18px;margin-top:16px}.api-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-top:1px solid var(--line);font-size:10px}.api-row:first-of-type{margin-top:14px}.api-row span{color:var(--muted)}.api-row strong{font-size:10px}.online{color:var(--success)!important}

/* DRAWERS / TOAST */
.company-menu{position:fixed;z-index:100;width:320px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 65px rgba(18,59,61,.2);padding:8px;display:none}.company-menu.show{display:block}.company-option{width:100%;border:0;background:transparent;border-radius:12px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left}.company-option:hover{background:#f3f8f7}.company-option.active{background:var(--brand-softer)}.company-option .company-logo{width:36px;height:36px}.company-option strong{font-size:11px;display:block}.company-option span{font-size:9px;color:var(--muted);display:block;margin-top:2px}.toast-host{position:fixed;right:22px;bottom:22px;z-index:200;display:grid;gap:9px}.toast{min-width:270px;max-width:390px;background:#153f40;color:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 18px 45px rgba(0,0,0,.2);font-size:11px;font-weight:700;animation:toastIn .2s ease}.toast.error{background:#8e3243}.toast.success{background:#176d59}@keyframes toastIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.loading-overlay{position:fixed;inset:0;background:rgba(243,247,246,.74);backdrop-filter:blur(4px);z-index:160;display:none;place-items:center}.loading-overlay.show{display:grid}.loader-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 24px;box-shadow:var(--shadow);display:flex;align-items:center;gap:13px;font-size:12px;font-weight:800}.spinner{width:20px;height:20px;border:2px solid #d9e8e6;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}


/* Desktop company shell: same retractable rail used by the company selector. */
@media(min-width:981px){
  .nx54-company-rail{width:70px!important}
  .nx54-company-rail:hover{width:220px!important}
}
@media(min-width:981px) and (max-height:900px){
  .nx42-overview .nx42-finance-chart,.nx42-overview .nx42-import{height:225px;overflow:hidden}
  .nx42-overview .finance-chart-v2{height:160px!important}
  .nx42-overview .nx42-import .pdv-dropzone{min-height:104px!important}
  .nx42-overview-bottom>.nx42-card{height:210px;overflow:hidden}
  .nx42-overview .compact-panel-head{margin-bottom:5px!important}
  .nx42-overview .recent-head,.nx42-overview .recent-row{padding:5px 6px!important}
  .nx42-overview .stock-row-v2{min-height:33px!important;padding:2px 0!important}
  .nx42-overview .stock-row-icon{width:29px!important;height:29px!important}
  .nx42-operational-list button{min-height:51px!important}
}

/* RESPONSIVE */
@media(max-width:1180px){:root{--sidebar:230px}.kpi-grid,.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.routine-layout{grid-template-columns:1fr}.routine-summary{position:static}.company-facts{display:none}.settings-grid{grid-template-columns:1fr}}
@media(max-width:820px){
  :root{--topbar:74px}.login-shell{display:block}.login-visual{min-height:auto;padding:28px 24px 0}.login-copy{margin-top:70px}.login-copy h1{font-size:45px}.login-copy p{font-size:15px}.login-proof{display:none}.login-panel{padding:26px 18px 44px}.login-card{padding:26px;border-radius:24px}
  .app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:min(86vw,320px);height:100dvh;transform:translateX(-105%);transition:.22s;box-shadow:0 20px 70px rgba(0,0,0,.18)}.sidebar.open{transform:none}.mobile-menu{display:grid}.topbar{padding:12px 16px}.top-user{display:none}.main{padding:20px 16px 104px}.hero-row{align-items:flex-start;flex-direction:column}.hero-actions{justify-content:flex-start}.page-title{font-size:20px}.page-subtitle{display:none}.kpi-grid,.stats-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:15px;min-height:122px}.kpi-value{font-size:22px}.toolbar{grid-template-columns:1fr 1fr}.toolbar .search-input{grid-column:1/-1}.product-grid,.register-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.company-profile{align-items:flex-start}.company-facts{display:none}
  .mobile-bottom{position:fixed;display:grid!important;grid-template-columns:repeat(5,1fr);left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:20px;padding:6px;box-shadow:0 15px 45px rgba(18,59,61,.16)}.mobile-bottom button{height:50px;border:0;background:transparent;border-radius:14px;color:#758d8e;display:grid;place-items:center;gap:2px;font-size:8px;font-weight:700}.mobile-bottom button.active{background:var(--brand-soft);color:var(--brand-2)}.mobile-bottom .icon{width:19px;height:19px;margin:auto}
}
@media(max-width:520px){.login-copy{margin-top:48px}.login-copy h1{font-size:39px}.login-brand .brand-tag{display:none}.kpi-grid,.stats-row{grid-template-columns:1fr 1fr}.kpi-label{font-size:9px}.kpi-value{font-size:19px}.toolbar{grid-template-columns:1fr}.toolbar .search-input{grid-column:auto}.chart-wrap{gap:7px}.bar-value{display:none}.bar-track{width:72%}.quick-grid{grid-template-columns:1fr}.table-head{padding:15px}.panel{padding:16px}.hero-title h1{font-size:28px}.company-menu{left:12px!important;right:12px!important;width:auto!important}}
.mobile-bottom{display:none}

/* Dark theme — acabamento do painel, sem alterar a identidade de dados */
html[data-theme="dark"] body{background:radial-gradient(circle at 82% 5%,rgba(29,130,121,.18),transparent 27rem),radial-gradient(circle at 8% 92%,rgba(29,130,121,.12),transparent 32rem),var(--bg)}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar{background:rgba(16,35,35,.9)}
html[data-theme="dark"] .card,html[data-theme="dark"] .round-btn,html[data-theme="dark"] .top-user,html[data-theme="dark"] .tabbar,html[data-theme="dark"] .company-menu,html[data-theme="dark"] .login-card{background:var(--surface)}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea,html[data-theme="dark"] .search-input,html[data-theme="dark"] .select-input,html[data-theme="dark"] .date-input{background:var(--surface-2);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .data-table th{background:var(--surface-2)}
html[data-theme="dark"] .data-table tbody tr:hover,html[data-theme="dark"] .company-switch:hover,html[data-theme="dark"] .quick-card:hover{background:#1b3735}
html[data-theme="dark"] .quick-card,html[data-theme="dark"] .company-switch{background:var(--surface-2)}
html[data-theme="dark"] .progress-ring:before{background:var(--surface)}
html[data-theme="dark"] .mobile-bottom{background:rgba(23,48,47,.94)}
html[data-theme="dark"] .bar-track{background:#203c3a}

/* ========================================================================== */
/* NEXO WEB V3 — dashboard SaaS / desktop-first, responsivo e mais denso     */
/* ========================================================================== */
:root{
  --bg:#f5f7f7;
  --bg-2:#eef3f2;
  --surface:#ffffff;
  --surface-2:#f8faf9;
  --surface-3:#eef7f5;
  --text:#123a3d;
  --text-2:#597173;
  --muted:#8a9c9d;
  --line:#e0e8e7;
  --line-2:#d2dfdd;
  --brand:#0d9488;
  --brand-2:#08766f;
  --brand-3:#075f5a;
  --brand-soft:#e0f4f1;
  --brand-softer:#f0f9f7;
  --sidebar:252px;
  --topbar:74px;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 12px 36px rgba(25,55,56,.06);
  --shadow-soft:0 5px 18px rgba(25,55,56,.045);
}
html,body{background:var(--bg)}
body{background:linear-gradient(180deg,#f7f9f9 0,#f4f7f6 100%)}
button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(13,148,136,.18);outline-offset:2px}

/* login mais sóbrio, com branding de produto SaaS */
.login-shell{grid-template-columns:minmax(520px,1.12fr) minmax(420px,.88fr);background:linear-gradient(135deg,#f7faf9 0%,#edf6f4 100%)}
.login-visual{padding:clamp(48px,6vw,88px);background:linear-gradient(150deg,#0b7f77 0%,#096d67 54%,#075a56 100%);color:#fff;overflow:hidden}
.login-visual:before{inset:0;background:radial-gradient(circle at 18% 15%,rgba(255,255,255,.16),transparent 20rem),radial-gradient(circle at 84% 82%,rgba(75,223,209,.16),transparent 25rem)}
.login-brand .brand-mark{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);box-shadow:none}
.login-brand .brand-word{color:#fff}.login-brand .brand-tag{color:rgba(255,255,255,.7)}
.login-copy .eyebrow{color:#bfeee8}.login-copy .eyebrow:before{background:#88dcd3}
.login-copy h1{font-size:clamp(48px,5.4vw,76px);max-width:760px;color:#fff}
.login-copy p{color:rgba(255,255,255,.74);font-size:17px;max-width:620px}
.proof-chip{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.15);color:rgba(255,255,255,.78)}
.proof-dot{background:#7be0d5}
.login-panel{background:#f7faf9;padding:42px 5vw}
.login-card{border-radius:22px;border:1px solid #e3ebe9;box-shadow:0 24px 68px rgba(31,65,64,.12);padding:36px;background:#fff}
.login-card h2{font-size:28px}
.field input,.field select,.field textarea{border-radius:12px;background:#fafcfc;min-height:50px}
.login-submit{border-radius:12px;box-shadow:none}

/* shell: sidebar escura, conteúdo claro e denso */
.app-shell{grid-template-columns:var(--sidebar) minmax(0,1fr)}
.sidebar{padding:18px 14px 16px;background:linear-gradient(180deg,#08776f 0%,#076a64 55%,#075d58 100%);border-right:0;color:#fff;box-shadow:8px 0 30px rgba(20,55,53,.05)}
.side-brand{padding:5px 10px 18px;gap:11px}
.side-brand .brand-mark{width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.12);box-shadow:none;border:1px solid rgba(255,255,255,.14)}
.side-brand .brand-word{font-size:20px;color:#fff;letter-spacing:.02em}
.side-brand .brand-tag{font-size:9px;color:rgba(255,255,255,.58);letter-spacing:.12em}
.company-switch{min-height:62px;margin-bottom:16px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.09);border-radius:14px;color:#fff;padding:10px}
.company-switch:hover{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.22)}
.company-switch .company-logo{width:39px;height:39px;border-radius:10px;background:#fff}
.company-switch-copy strong{font-size:12px;color:#fff}.company-switch-copy span{font-size:9px;color:rgba(255,255,255,.6)}
.company-switch>.icon{color:rgba(255,255,255,.7);width:16px;height:16px}
.nav-label{color:rgba(255,255,255,.4);font-size:9px;padding:0 11px 7px;margin-top:7px}
.nav{gap:3px}
.nav-item{min-height:43px;border-radius:11px;color:rgba(255,255,255,.7);font-size:12px;padding:0 11px;gap:11px}
.nav-item .icon{width:18px;height:18px}
.nav-item:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-item.active{background:#fff;color:var(--brand-2);box-shadow:0 8px 20px rgba(4,65,60,.15)}
.nav-badge{background:rgba(255,255,255,.12);color:rgba(255,255,255,.8)}
.nav-item.active .nav-badge{background:var(--brand-soft);color:var(--brand-2)}
.side-footer{border-top-color:rgba(255,255,255,.11);padding:14px 8px 0}
.user-mini .avatar{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.12)}
.user-mini strong{color:#fff}.user-mini span{color:rgba(255,255,255,.5)}
.logout{color:#ffd6dc}.logout:hover{background:rgba(255,255,255,.07)}

.workspace{background:var(--bg);min-height:100vh}
.topbar{height:var(--topbar);padding:11px 28px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.9);backdrop-filter:blur(18px)}
.page-kicker{font-size:9px;letter-spacing:.08em;color:var(--brand-2);margin-bottom:2px}
.page-title{font-size:20px;letter-spacing:-.025em}.page-subtitle{font-size:10px;margin-top:1px}
.round-btn{width:40px;height:40px;border-radius:11px;box-shadow:none;background:#fff}
.round-btn:hover{transform:none;background:var(--brand-softer)}
.top-user{border-radius:12px;box-shadow:none;padding:4px 8px 4px 5px}.top-user .avatar{width:32px;height:32px;border-radius:9px}.top-user-copy strong{font-size:10px}.top-user-copy span{font-size:8px}
.sync-dot{width:7px;height:7px;right:6px;top:6px}

.main{padding:24px 28px 48px;max-width:1580px}
.view{animation:webV3View .18s cubic-bezier(.2,.75,.3,1)}
@keyframes webV3View{from{opacity:.72;transform:translateY(3px)}to{opacity:1;transform:none}}
.hero-row{margin-bottom:18px;align-items:flex-end}
.hero-title h1{font-size:30px;letter-spacing:-.04em;margin-bottom:5px}.hero-title p{font-size:11px;line-height:1.55;color:var(--muted)}
.hero-title p strong{color:var(--text-2)}
.hero-eyebrow{font-size:9px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--brand);margin-bottom:7px}
.hero-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.updated-label{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 10px;color:var(--text-2);font-size:9px;font-weight:700}
.live-dot{width:7px;height:7px;background:var(--success);border-radius:50%;box-shadow:0 0 0 4px rgba(25,121,95,.08)}
.attention-chip{font-size:9px;font-weight:800;color:var(--success);background:var(--success-soft);border-radius:999px;padding:7px 10px}.attention-chip.has-attention{color:var(--warning);background:var(--warning-soft)}

/* cards e indicadores: menos caixa, mais informação */
.card{border:1px solid var(--line);border-radius:16px;box-shadow:none;background:#fff}
.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.kpi{min-height:132px;padding:16px 17px;position:relative;overflow:hidden}
.kpi:after{content:"";position:absolute;width:84px;height:84px;border-radius:50%;right:-32px;top:-36px;background:rgba(13,148,136,.045)}
.kpi-top{margin-bottom:12px}.kpi-icon{width:34px;height:34px;border-radius:10px;background:var(--brand-softer);color:var(--brand-2)}.kpi-icon .icon{width:17px;height:17px}
.kpi-label{font-size:9px;color:var(--muted);font-weight:700}.kpi-value{font-size:23px;letter-spacing:-.035em;margin-top:4px}.kpi-foot{font-size:9px;margin-top:4px;color:var(--muted)}
.trend{font-size:8px;padding:4px 7px}
.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(330px,.8fr);gap:14px;align-items:start}.stack{gap:14px}
.panel{padding:17px}.panel-primary{min-height:300px}.compact-panel{padding-bottom:14px}
.panel-head{margin-bottom:14px}.panel-title{font-size:13px}.panel-sub{font-size:9px}.panel-link{font-size:9px;color:var(--brand-2)}
.list-row{min-height:56px;padding:9px 0}.list-icon{width:34px;height:34px;border-radius:10px}.list-icon .icon{width:16px;height:16px}.list-main strong,.list-side strong{font-size:10px}.list-main span,.list-side span{font-size:8px}
.quick-grid{gap:8px}.quick-card{min-height:58px;border-radius:12px;padding:9px;background:var(--surface-2)}.quick-card:hover{background:var(--brand-softer);border-color:#cce5e1;transform:none}.quick-card strong{font-size:10px}.quick-card span{font-size:8px}

/* gráfico mais limpo */
.chart-wrap{min-height:210px;padding:12px 4px 0;gap:12px}.bar-track{border-radius:7px;background:#edf2f1}.bar{background:linear-gradient(180deg,#15a79b,#0b8179);border-radius:7px 7px 4px 4px}.bar-value{font-size:8px}.bar-label{font-size:8px}

/* áreas internas */
.tabbar{border-radius:13px;padding:4px;background:#fff;border:1px solid var(--line);box-shadow:none;margin-bottom:12px}.tab-btn{min-height:40px;border-radius:9px;font-size:10px}.tab-btn.active{box-shadow:none}
.stats-row{gap:10px;margin-bottom:12px}.mini-stat{min-height:90px;padding:13px 14px}.mini-stat span{font-size:8px}.mini-stat strong{font-size:18px;margin:3px 0}
.toolbar{border-radius:14px;padding:10px;gap:8px;margin-bottom:12px}.search-input,.select-input,.date-input{min-height:42px;border-radius:10px;background:#fafcfc;font-size:10px}
.table-card{border-radius:15px}.data-table{font-size:9px}.data-table th{font-size:8px}.data-table td{padding-top:10px;padding-bottom:10px}
.product-grid{gap:10px}.product-card{border-radius:14px;min-height:92px;padding:10px}.product-image{width:58px;height:58px;border-radius:12px}.product-copy strong{font-size:11px}
.register-grid{gap:10px}.register-card{border-radius:14px;min-height:86px;padding:11px}.register-logo{width:52px;height:52px;border-radius:12px}
.routine-block{border-radius:14px}.routine-summary{border-radius:14px}
.settings-grid{gap:10px}.setting-card{min-height:92px;border-radius:14px;padding:15px}.company-profile{border-radius:15px}

/* menus */
.company-menu{border-radius:14px;box-shadow:0 18px 50px rgba(18,59,61,.18)}
.company-option{border-radius:10px}.company-option:hover{background:var(--brand-softer)}
.toast{border-radius:12px}.loader-card{border-radius:14px}

/* tablet */
@media(max-width:1180px){
  :root{--sidebar:218px}.dashboard-grid{grid-template-columns:1fr}.kpi-grid,.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-primary{min-height:auto}
}

/* mobile / iPhone: experiência de app web, sem "desktop espremido" */
@media(max-width:820px){
  :root{--topbar:64px}
  .login-shell{background:#f5f8f7}.login-visual{padding:22px 20px 28px;min-height:290px}.login-copy{margin-top:46px}.login-copy h1{font-size:38px;line-height:1.02}.login-copy p{font-size:13px}.login-panel{padding:0 14px 34px;margin-top:-28px}.login-card{border-radius:20px;padding:24px;box-shadow:0 14px 42px rgba(18,59,61,.12)}
  .sidebar{width:min(84vw,300px);background:linear-gradient(180deg,#08776f,#075d58)}
  .topbar{padding:9px 13px}.mobile-menu{display:grid}.page-title{font-size:17px}.page-kicker{font-size:8px}.topbar-actions{gap:6px}.round-btn{width:38px;height:38px}.topbar-actions .top-user{display:none}
  .main{padding:16px 13px 96px}.hero-row{margin-bottom:14px}.hero-title h1{font-size:25px}.hero-title p{font-size:10px;max-width:92%}.hero-actions{width:100%;justify-content:flex-start}.attention-chip{display:none}
  .kpi-grid,.stats-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{min-height:112px;padding:13px}.kpi-icon{width:31px;height:31px}.kpi-value{font-size:19px}.kpi-label,.kpi-foot{font-size:8px}.dashboard-grid{grid-template-columns:1fr;gap:10px}.stack{gap:10px}.panel{padding:14px;border-radius:14px}.chart-wrap{min-height:190px}.panel-title{font-size:12px}
  .mobile-bottom{left:10px;right:10px;padding:5px;border-radius:17px;box-shadow:0 12px 35px rgba(18,59,61,.15)}.mobile-bottom button{height:47px;border-radius:11px;font-size:7px}.mobile-bottom button.active{background:var(--brand-soft)}
  .toolbar{grid-template-columns:1fr!important}.toolbar .search-input{grid-column:auto}.company-profile{flex-direction:column}.settings-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .login-copy{margin-top:36px}.login-copy h1{font-size:34px}.login-card h2{font-size:24px}.login-card-header{margin-bottom:22px}
  .kpi-grid,.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-value{font-size:17px}.hero-title h1{font-size:24px}.updated-label{font-size:8px}
  .chart-wrap{gap:5px}.bar-track{width:78%}.bar-value{display:none}.quick-grid{grid-template-columns:1fr 1fr}.quick-card{min-height:54px}
}

/* dark theme alinhado ao novo shell */
html[data-theme="dark"] .workspace{background:var(--bg)}
html[data-theme="dark"] .sidebar{background:linear-gradient(180deg,#0b4543 0%,#093d3b 100%)}
html[data-theme="dark"] .topbar{background:rgba(16,35,35,.94);border-color:var(--line)}
html[data-theme="dark"] .card,html[data-theme="dark"] .tabbar,html[data-theme="dark"] .company-menu{background:var(--surface)}
html[data-theme="dark"] .updated-label{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .quick-card{background:var(--surface-2)}
html[data-theme="dark"] .kpi:after{background:rgba(80,210,197,.04)}

/* NEXO WEB V5 — acabamento de produto */
html{scrollbar-gutter:stable}body{overflow-x:hidden}
.sidebar{position:sticky;top:0;height:100vh;align-self:start}
.topbar{position:sticky;top:0;z-index:30}
.card,.quick-card,.setting-card,.product-card,.register-card{transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.card:hover{border-color:var(--line-2)}
.quick-card:hover,.setting-card:hover,.product-card:hover,.register-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-soft)}
.data-table tbody tr{transition:background .14s ease}
.loading-overlay{backdrop-filter:blur(3px)}
@media(max-width:820px){
  html{scrollbar-gutter:auto}.sidebar{position:fixed;height:100dvh}.topbar{top:0}
  .main{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right));padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .mobile-bottom{bottom:max(10px,env(safe-area-inset-bottom))}
  .card:hover,.quick-card:hover,.setting-card:hover,.product-card:hover,.register-card:hover{transform:none;box-shadow:none}
}

/* ========================================================================== */
/* NEXO WEB V6 — interface nítida, tipografia de sistema e superfícies sólidas */
/* ========================================================================== */
:root{
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --bg:#f4f7f6;--bg-2:#edf2f1;--surface:#ffffff;--surface-2:#f8faf9;--surface-3:#eef7f5;
  --text:#153b3d;--text-2:#506d6f;--muted:#748a8b;--line:#d9e4e2;--line-2:#c8d9d6;
  --shadow:0 8px 24px rgba(21,59,61,.055);--shadow-soft:0 2px 8px rgba(21,59,61,.05);
  --radius:16px;--radius-sm:11px;--sidebar:248px;--topbar:72px;
}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-synthesis:none}
body{font-size:14px;line-height:1.45;background:#f4f7f6}
button,input,select,textarea{font-family:var(--font)}
strong{font-weight:700}

/* remove o blur literal do shell e evita rasterização turva em camadas translúcidas */
.sidebar,.topbar,.login-card,.proof-chip,.mobile-bottom,.loading-overlay{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.workspace,.main{background:transparent}
.view{animation:nexoV6Fade .14s ease-out}
@keyframes nexoV6Fade{from{opacity:.84}to{opacity:1}}

/* shell */
.sidebar{background:linear-gradient(180deg,#08746d 0%,#08665f 58%,#075b56 100%);box-shadow:6px 0 24px rgba(20,55,53,.045)}
.topbar{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 1px 0 rgba(18,59,61,.015)}
.main{max-width:1540px;padding:26px 30px 52px}
.side-brand .brand-word{font-size:20px;font-weight:800;letter-spacing:.015em}
.side-brand .brand-tag{font-size:10px;font-weight:700}
.company-switch-copy strong{font-size:12.5px;font-weight:700}.company-switch-copy span{font-size:10px}
.nav-label{font-size:10px;font-weight:700;letter-spacing:.1em}
.nav-item{min-height:44px;font-size:13px;font-weight:600;border-radius:11px}
.nav-item.active{box-shadow:0 5px 14px rgba(4,65,60,.12)}
.user-mini strong{font-size:12px;font-weight:700}.user-mini span{font-size:10.5px}
.logout{font-weight:700}

/* cabeçalho */
.page-kicker{font-size:10px;font-weight:700;letter-spacing:.075em}
.page-title{font-size:22px;font-weight:700;letter-spacing:-.024em}
.page-subtitle{font-size:11.5px;color:var(--text-2)}
.round-btn,.top-user{box-shadow:none}
.top-user-copy strong{font-size:11px;font-weight:700}.top-user-copy span{font-size:9.5px}

/* títulos e hierarquia */
.hero-row{margin-bottom:20px}
.hero-title h1{font-size:32px;line-height:1.08;font-weight:700;letter-spacing:-.038em;margin-bottom:7px}
.hero-title p{font-size:13px;line-height:1.55;color:var(--text-2);max-width:760px}
.hero-eyebrow{font-size:10px;font-weight:700;letter-spacing:.09em}
.updated-label,.attention-chip{font-size:10px;font-weight:600}

/* cards: borda definida e sombra curta, sem aspecto leitoso */
.card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px rgba(18,59,61,.025)}
.card:hover{border-color:var(--line-2);box-shadow:0 3px 12px rgba(18,59,61,.04)}
.card,.quick-card,.setting-card,.product-card,.register-card{transform:none!important;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}
.quick-card:hover,.setting-card:hover,.product-card:hover,.register-card:hover{transform:none!important;box-shadow:0 3px 12px rgba(18,59,61,.045)}

/* indicadores */
.kpi-grid{gap:12px;margin-bottom:16px}
.kpi{min-height:128px;padding:17px 18px}
.kpi-icon{width:36px;height:36px;border-radius:10px}.kpi-icon .icon{width:18px;height:18px}
.kpi-label{font-size:11px;font-weight:600;color:var(--text-2)}
.kpi-value{font-size:24px;font-weight:700;letter-spacing:-.03em;margin-top:5px}
.kpi-foot{font-size:10.5px;color:var(--muted);margin-top:5px}.trend{font-size:9px;font-weight:700}

/* painéis e listas */
.dashboard-grid{gap:16px}.stack{gap:16px}
.panel{padding:18px}.panel-head{margin-bottom:15px}
.panel-title{font-size:14px;font-weight:700;letter-spacing:-.01em}
.panel-sub{font-size:11px;line-height:1.45;color:var(--muted)}.panel-link{font-size:10.5px;font-weight:600}
.list-row{min-height:58px;padding:10px 0}.list-icon{width:36px;height:36px;border-radius:10px}
.list-main strong,.list-side strong{font-size:11.5px;font-weight:700}.list-main span,.list-side span{font-size:10px;line-height:1.4}
.quick-grid{gap:9px}.quick-card{min-height:62px;border-radius:11px;padding:11px;background:#f7faf9;border:1px solid #e5eceb}
.quick-card strong{font-size:11.5px;font-weight:700}.quick-card span{font-size:9.5px;line-height:1.35}

/* gráficos */
.chart-wrap{min-height:220px}.bar-value{font-size:9px;font-weight:600}.bar-label{font-size:9.5px;color:var(--text-2)}
.bar-track{background:#e9efee}.bar{background:linear-gradient(180deg,#139b91,#0a766f)}

/* tabs, filtros e tabelas */
.tabbar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px;box-shadow:0 1px 2px rgba(18,59,61,.02)}
.tab-btn{min-height:41px;font-size:11px;font-weight:600;border-radius:9px}
.stats-row{gap:10px;margin-bottom:14px}.mini-stat{min-height:94px;padding:14px 15px}.mini-stat span{font-size:10px}.mini-stat strong{font-size:20px;font-weight:700}
.toolbar{padding:11px;border-radius:13px;gap:9px;margin-bottom:14px;background:#fff}
.search-input,.select-input,.date-input{min-height:43px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:11.5px;color:var(--text)}
.search-input::placeholder{color:#93a4a5}
.data-table{font-size:11px}.data-table th{font-size:10px;font-weight:700;letter-spacing:.02em;color:var(--text-2);background:#f7f9f9}
.data-table td{padding-top:11px;padding-bottom:11px}.data-table tbody tr:hover{background:#f7faf9}

/* estoque / cadastros */
.product-grid,.register-grid,.settings-grid{gap:11px}
.product-card{min-height:96px;padding:11px;border-radius:13px}.product-image{width:60px;height:60px;border-radius:11px;background:#f3f6f5}
.product-copy strong{font-size:12.5px;font-weight:700}.product-copy span{font-size:10.5px;color:var(--muted)}
.register-card{min-height:90px;padding:12px;border-radius:13px}.register-logo{width:54px;height:54px;border-radius:11px;background:#f4f7f6}
.register-copy strong{font-size:12px;font-weight:700}.register-copy>span{font-size:10px;line-height:1.4}.tiny-chip{font-size:9px;font-weight:600}
.setting-card{min-height:96px;padding:16px;border-radius:13px}.setting-copy strong{font-size:12px}.setting-copy p{font-size:10.5px;line-height:1.45}.setting-state{font-size:9.5px;font-weight:600}
.company-profile{border-radius:14px}.company-profile-copy h3{font-size:19px}.company-profile-copy p,.company-fact span{font-size:10.5px}.company-fact strong{font-size:11.5px}
.api-row span,.api-row strong{font-size:11px}

/* login */
.login-shell{background:#f5f8f7}
.login-panel{background:#f7f9f9}
.login-card{background:#fff;border:1px solid #dfe8e6;border-radius:20px;box-shadow:0 18px 54px rgba(21,59,61,.11)}
.login-card h2{font-size:29px;font-weight:700}.login-card p{font-size:13px}
.login-copy h1{font-weight:700;letter-spacing:-.048em}.login-copy p{font-size:17px}
.proof-chip{background:rgba(255,255,255,.12);font-size:12px;font-weight:600}
.field label{font-size:12px;font-weight:700}.field input,.field select,.field textarea{font-size:13px;background:#fff;border-color:#d7e3e1}
.primary-btn,.secondary-btn,.ghost-btn,.danger-btn{font-weight:700}

/* overlays e menus */
.loading-overlay{background:rgba(244,247,246,.82)}
.company-menu{background:#fff;border:1px solid var(--line);box-shadow:0 18px 48px rgba(18,59,61,.14)}
.toast{box-shadow:0 12px 36px rgba(18,59,61,.14)}

/* dark: sólido e igualmente nítido */
html[data-theme="dark"] body,html[data-theme="dark"] .workspace{background:#102323}
html[data-theme="dark"] .sidebar{background:linear-gradient(180deg,#0a4b47,#083f3c)}
html[data-theme="dark"] .topbar{background:#132a29;border-color:#294845}
html[data-theme="dark"] .card,html[data-theme="dark"] .tabbar,html[data-theme="dark"] .company-menu,html[data-theme="dark"] .top-user,html[data-theme="dark"] .round-btn{background:#17302f}
html[data-theme="dark"] .toolbar,html[data-theme="dark"] .search-input,html[data-theme="dark"] .select-input,html[data-theme="dark"] .date-input{background:#193331;color:#e7f3f1;border-color:#294845}
html[data-theme="dark"] .quick-card,html[data-theme="dark"] .data-table th{background:#193331}
html[data-theme="dark"] .data-table tbody tr:hover{background:#1b3735}
html[data-theme="dark"] .loading-overlay{background:rgba(16,35,35,.86)}

@media(max-width:820px){
  :root{--topbar:64px}
  .topbar{padding:9px 14px}.main{padding:17px 14px calc(98px + env(safe-area-inset-bottom))}
  .page-title{font-size:18px}.page-kicker{font-size:9px}.hero-title h1{font-size:26px}.hero-title p{font-size:11.5px;max-width:96%}
  .kpi-grid,.stats-row{gap:9px}.kpi{min-height:116px;padding:14px}.kpi-label{font-size:9.5px}.kpi-value{font-size:20px}.kpi-foot{font-size:9px}
  .panel{padding:15px}.panel-title{font-size:13px}.panel-sub{font-size:10px}
  .mobile-bottom{background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px rgba(18,59,61,.14)}
  .mobile-bottom button{font-size:8px;font-weight:600}
  html[data-theme="dark"] .mobile-bottom{background:#17302f}
}
@media(max-width:520px){
  .hero-title h1{font-size:25px}.kpi-value{font-size:19px}.quick-grid{grid-template-columns:1fr 1fr}
  .product-copy strong{font-size:12px}.data-table{font-size:10.5px}
}

/* ========================================================================== */
/* NEXO WEB V7 — fluxo Login > Empresa > Ambiente + shell profissional        */
/* ========================================================================== */
:root{--sidebar:236px;--topbar:68px}
body{background:#f5f7f6}

/* Sidebar neutra: a marca passa a ser destaque, não o fundo inteiro. */
.sidebar{background:#fff!important;color:var(--text)!important;border-right:1px solid var(--line)!important;box-shadow:none!important;padding:18px 14px 16px}
.side-brand{padding:4px 8px 20px}
.side-brand .brand-mark{width:39px;height:39px;border-radius:11px;background:#0a7a72!important;border:0!important;box-shadow:none!important}
.side-brand .brand-word{color:var(--text)!important;font-size:19px;font-weight:800}
.side-brand .brand-tag{color:var(--muted)!important;font-size:9px;letter-spacing:.11em}
.company-switch{min-height:62px;padding:10px;margin-bottom:22px;background:#f8faf9!important;border:1px solid var(--line)!important;color:var(--text)!important;border-radius:13px;box-shadow:none}
.company-switch:hover{background:#f2f8f6!important;border-color:#bfd9d5!important}
.company-switch .company-logo{width:38px;height:38px;border-radius:10px;background:#fff;border:1px solid #e4ecea}
.company-switch-copy strong{color:var(--text)!important;font-size:12px}.company-switch-copy span{color:var(--muted)!important;font-size:9px}
.company-switch>.icon{color:var(--brand-2)!important;width:15px;height:15px;transform:none}
.nav-label{color:#8ca09f!important;font-size:9px;padding:0 10px 8px}
.nav{gap:4px}
.nav-item{position:relative;min-height:42px;border-radius:9px;color:#5a7172!important;font-size:12.5px;font-weight:600;padding:0 11px}
.nav-item:hover{background:#f6f9f8!important;color:var(--text)!important}
.nav-item.active{background:#edf7f5!important;color:#08766f!important;box-shadow:none!important}
.nav-item.active:before{content:"";position:absolute;left:-14px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:#0b8b81}
.nav-item.active .nav-badge{background:#fff;color:#08766f}
.side-footer{border-top:1px solid var(--line)!important;padding:14px 7px 0}
.user-mini .avatar{background:#e7f4f1!important;color:#08766f!important;border:0!important}
.user-mini strong{color:var(--text)!important}.user-mini span{color:var(--muted)!important}
.logout{color:#8e4a56}.logout:hover{background:#fbf4f5}
.workspace{background:#f5f7f6}
.topbar{background:#fff!important;border-bottom:1px solid var(--line)!important;padding:10px 26px;box-shadow:none!important}
.main{max-width:1480px;padding:28px 30px 54px}
.page-kicker{font-size:9px;letter-spacing:.08em}.page-title{font-size:21px}.page-subtitle{font-size:10.5px}
.round-btn,.top-user{border-color:var(--line);box-shadow:none!important}.round-btn:hover{transform:none;background:#f5f9f8}

/* Login mais limpo e sem camadas translúcidas. */
.login-shell{background:#f5f7f6}
.login-visual{background:#0a756e}
.login-visual:before{background:radial-gradient(circle at 18% 15%,rgba(255,255,255,.11),transparent 21rem),radial-gradient(circle at 80% 88%,rgba(116,231,220,.12),transparent 28rem)}
.login-card{border-radius:18px;box-shadow:0 18px 48px rgba(20,55,53,.09);padding:38px}
.login-card h2{font-size:28px;letter-spacing:-.035em}
.login-copy h1{font-size:clamp(46px,5vw,74px);line-height:1.02}.login-copy p{max-width:620px}
.proof-chip{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08)}

/* Seletor de empresas: uma etapa própria entre autenticação e dashboard. */
.company-select-shell{min-height:100vh;background:#f5f7f6;color:var(--text);padding:0 32px 56px}
.company-select-top{max-width:1180px;margin:0 auto;height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.select-brand{display:flex;align-items:center;gap:11px}.select-brand .brand-mark{width:40px;height:40px;border-radius:11px;background:#0a7a72;box-shadow:none}.select-brand .brand-word{font-size:19px;font-weight:800;letter-spacing:.01em}.select-brand .brand-tag{font-size:9px;color:var(--muted);font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.select-account{display:flex;align-items:center;gap:10px;min-width:0}.select-account>div:nth-child(2){min-width:0}.select-account strong{display:block;font-size:12px}.select-account span{display:block;font-size:10px;color:var(--muted);max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ghost-btn.compact{min-height:36px;padding:0 12px;border-radius:10px;font-size:11px;margin-left:8px}
.company-select-content{max-width:1040px;margin:0 auto;padding:70px 0 0}.company-select-copy{max-width:690px;margin-bottom:34px}.company-select-copy .eyebrow{color:#08766f;font-size:10px;letter-spacing:.1em;font-weight:800;text-transform:uppercase}.company-select-copy h1{font-size:38px;letter-spacing:-.045em;line-height:1.08;margin:8px 0 10px}.company-select-copy p{font-size:14px;line-height:1.6;color:var(--text-2);margin:0}
.company-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.company-card{min-height:112px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:17px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;text-align:left;color:var(--text);cursor:pointer;box-shadow:0 1px 2px rgba(18,59,61,.025);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.company-card:hover{border-color:#b9d8d3;box-shadow:0 8px 22px rgba(18,59,61,.055);background:#fdfefe}.company-card:focus-visible{outline:3px solid rgba(11,139,129,.18);outline-offset:2px}.company-card:disabled{opacity:.65;cursor:wait}
.company-card-logo{width:62px;height:62px;border-radius:13px;background:#f4f8f7;border:1px solid #e4ecea;object-fit:contain;padding:5px;display:grid;place-items:center;color:#08766f;font-weight:800;flex:none}.company-card-logo.small{width:40px;height:40px;border-radius:10px}
.company-card-copy{min-width:0}.company-card-copy strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-card-copy span{font-size:11px;color:var(--muted);display:block;margin-top:4px}.company-card-enter{display:flex;align-items:center;gap:7px;color:#08766f;font-size:11px;font-weight:700;white-space:nowrap}.company-card-enter .icon{width:15px;height:15px}
.company-empty{border:1px dashed #c8d7d5;border-radius:16px;background:#fff;padding:34px;text-align:center}.company-empty strong{display:block;font-size:15px;margin:8px 0 5px}.company-empty p{color:var(--muted);font-size:11px;margin:0}.company-empty .empty-icon{margin:0 auto}
.pending-company-block{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.pending-company-title{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.pending-company-row{display:flex;align-items:center;gap:11px;padding:9px 0}.pending-company-row strong{display:block;font-size:11.5px}.pending-company-row small{display:block;color:var(--muted);font-size:9.5px;margin-top:2px}
.company-select-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:34px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}

/* Visão geral: menos cartões e hierarquia mais forte. */
.overview-view .dashboard-hero{align-items:center;margin-bottom:24px}.overview-view .hero-title h1{font-size:32px}.overview-view .hero-title p{max-width:660px}.updated-label:before{display:none}.updated-label{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;color:var(--text-2)}
.kpi{min-height:120px;padding:16px 17px}.kpi-icon{width:34px;height:34px}.kpi-value{font-size:23px}.kpi-foot{font-size:10px}
.overview-core{grid-template-columns:minmax(0,1.7fr) minmax(290px,.7fr);gap:16px;align-items:stretch;margin-bottom:16px}.overview-core>.card{height:100%}
.priority-panel{display:flex;flex-direction:column}.priority-list{display:grid;margin-top:2px}.priority-row{border:0;border-top:1px solid #edf2f1;background:transparent;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:14px 0;text-align:left;color:var(--text);cursor:pointer}.priority-row:first-child{border-top:0;padding-top:2px}.priority-row:hover .priority-copy strong{color:#08766f}.priority-icon{width:34px;height:34px;border-radius:10px;background:#eff7f5;color:#08766f;display:grid;place-items:center}.priority-icon .icon{width:17px;height:17px}.priority-copy{min-width:0}.priority-copy strong{display:block;font-size:11.5px}.priority-copy span{display:block;font-size:9.5px;color:var(--muted);margin-top:2px}.priority-row>b{min-width:28px;text-align:center;font-size:13px}.priority-row>b.has-value{color:#a56b12}.priority-row>b.is-zero{color:#2a7e68}.priority-row>.icon{width:14px;height:14px;color:#9aacab}
.recent-panel{padding-bottom:8px}.overview-table{display:grid}.overview-table-head,.overview-table-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 120px 110px 120px;gap:14px;align-items:center}.overview-table-head{padding:0 0 8px;border-bottom:1px solid var(--line);font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}.overview-table-row{min-height:54px;border-bottom:1px solid #edf2f1;font-size:10.5px}.overview-table-row:last-child{border-bottom:0}.overview-desc{min-width:0}.overview-desc strong{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-desc small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.overview-table-row>.money{text-align:right;font-size:11.5px}

/* Tema escuro da nova estrutura. */
html[data-theme="dark"] .sidebar{background:#132a29!important;border-color:#294845!important;color:#e7f3f1!important}
html[data-theme="dark"] .side-brand .brand-word,html[data-theme="dark"] .company-switch-copy strong,html[data-theme="dark"] .user-mini strong{color:#e7f3f1!important}
html[data-theme="dark"] .company-switch{background:#17302f!important;border-color:#294845!important;color:#e7f3f1!important}
html[data-theme="dark"] .company-switch:hover,html[data-theme="dark"] .nav-item:hover{background:#193331!important}
html[data-theme="dark"] .nav-item{color:#a8c2c0!important}html[data-theme="dark"] .nav-item.active{background:#1b3a37!important;color:#70d4ca!important}
html[data-theme="dark"] .side-footer{border-color:#294845!important}.workspace{min-height:100vh}
html[data-theme="dark"] .company-select-shell{background:#102323;color:#e7f3f1}html[data-theme="dark"] .company-select-top,html[data-theme="dark"] .company-select-footer,html[data-theme="dark"] .pending-company-block{border-color:#294845}
html[data-theme="dark"] .company-card,html[data-theme="dark"] .company-empty,html[data-theme="dark"] .updated-label{background:#17302f;border-color:#294845;color:#e7f3f1}html[data-theme="dark"] .company-card:hover{background:#193331;border-color:#3a5d59}
html[data-theme="dark"] .company-card-logo{background:#193331;border-color:#294845}html[data-theme="dark"] .overview-table-head,html[data-theme="dark"] .overview-table-row,html[data-theme="dark"] .priority-row{border-color:#294845}
html[data-theme="dark"] .priority-icon{background:#1c3b38;color:#70d4ca}

@media(max-width:1100px){
  .overview-core{grid-template-columns:1fr}.company-card-grid{grid-template-columns:1fr}.overview-table-head,.overview-table-row{grid-template-columns:minmax(180px,1fr) 100px 100px 110px}
}
@media(max-width:820px){
  .sidebar{position:fixed!important;left:0;transform:translateX(-105%);transition:transform .2s ease;box-shadow:12px 0 32px rgba(18,59,61,.12)!important}.sidebar.open{transform:translateX(0)}
  .mobile-menu{display:grid}.company-select-shell{padding:0 16px 42px}.company-select-top{height:auto;min-height:78px;padding:12px 0;gap:14px}.select-account>div:nth-child(2){display:none}.company-select-content{padding-top:42px}.company-select-copy h1{font-size:31px}.company-select-copy p{font-size:12px}.company-card{min-height:96px;padding:13px}.company-card-logo{width:52px;height:52px}.company-card-enter{font-size:0}.company-card-enter .icon{width:18px;height:18px}.company-select-footer{align-items:flex-start;flex-direction:column}
  .overview-table-head{display:none}.overview-table-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:11px 0}.overview-table-row>span:nth-child(2){grid-column:1;font-size:9px;color:var(--muted)}.overview-table-row>span:nth-child(3){grid-column:2;grid-row:1}.overview-table-row>.money{grid-column:2;grid-row:2}.overview-view .hero-title h1{font-size:27px}
}
@media(max-width:520px){
  .company-select-top .brand-tag{display:none}.select-account .avatar{width:34px;height:34px}.ghost-btn.compact{margin-left:0}.company-select-copy h1{font-size:28px}.company-card-grid{gap:10px}.company-card{grid-template-columns:auto minmax(0,1fr) auto}.company-card-copy strong{font-size:12.5px}.company-card-copy span{font-size:9.5px}
}

/* =========================================================
   NEXO WEB V8 — fidelidade às telas-base aprovadas
   Login -> Seletor de empresas -> Ambiente da empresa
   ========================================================= */
:root{
  --nexo-ink:#08132c;
  --nexo-copy:#617091;
  --nexo-green:#087b70;
  --nexo-green-dark:#00685f;
  --nexo-green-deep:#045b55;
  --nexo-mint:#e3f7f3;
  --nexo-mint-2:#d5f2ed;
  --nexo-page:#f6f9f8;
  --nexo-border:#dfe8e7;
  --nexo-card:#fff;
  --nexo-red:#ef4e59;
  --nexo-blue:#1687d2;
  --nexo-orange:#c77c08;
}
html,body{background:#fff;color:var(--nexo-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
body{background:#fff!important}
.login-page,.selector-page,.app-shell,.topbar,.sidebar,.login-form,.dashboard-card,.overview-kpi,.selector-company-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* ----- LOGIN ----- */
.login-page{min-height:100vh;display:grid;grid-template-columns:44.8% 55.2%;background:#fff;overflow:hidden}
.login-side{background:#fff;min-height:100vh;display:flex;justify-content:center;position:relative;z-index:2}
.login-inner{width:min(100%,620px);min-height:100vh;padding:54px 28px 28px;display:flex;flex-direction:column}
.login-brand{display:flex;align-items:center;gap:16px;margin-bottom:58px}
.login-brand .brand-mark{width:58px;height:58px;border-radius:16px;background:linear-gradient(145deg,#0b9c8e,#08746d);box-shadow:none;position:relative}
.login-brand .brand-mark:after{content:"";position:absolute;width:44px;height:44px;border-radius:13px;background:#079182;right:-14px;bottom:-12px;z-index:-1}
.login-brand .brand-word{font-size:31px;line-height:1;font-weight:850;letter-spacing:.02em;color:#0b4662}
.login-brand .brand-tag{margin-top:6px;font-size:12px;letter-spacing:.15em;color:#476a82;font-weight:700}
.login-copy{max-width:540px;margin-bottom:28px}
.login-copy h1{font-size:49px;line-height:1.07;letter-spacing:-.048em;margin:0 0 14px;color:#071026;font-weight:850}
.login-copy p{font-size:19px;line-height:1.42;color:#62718f;margin:0;max-width:510px}
.login-form{width:min(100%,520px);border:1px solid #e0e7e8;border-radius:18px;padding:26px;background:#fff;box-shadow:0 4px 12px rgba(25,54,67,.025)}
.login-form .field{display:grid;gap:9px;margin-bottom:17px}
.login-form .field label{font-size:15px;color:#0c1830;font-weight:750}
.input-shell{height:51px;display:flex;align-items:center;gap:12px;border:1px solid #bfcfe0;border-radius:10px;padding:0 14px;background:#fff;color:#7387a7}
.input-shell:focus-within{border-color:#7aa9bd;box-shadow:0 0 0 3px rgba(8,123,112,.07)}
.input-shell>.icon{width:21px;height:21px;flex:none;stroke-width:1.8}
.input-shell input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-height:0!important;height:auto!important;padding:0!important;flex:1;color:#0c1830;font-size:15px}
.input-shell input::placeholder{color:#8ea0bd}
.input-icon-btn{border:0;background:transparent;padding:5px;color:#7185a5;display:grid;place-items:center}
.input-icon-btn .icon{width:20px;height:20px}
.login-form-links{display:flex;justify-content:flex-end;margin:-2px 0 18px}
.text-link{border:0;background:transparent;color:#08786f;font-size:14px;font-weight:750;padding:0}
.login-submit{height:55px;min-height:55px;width:100%;border-radius:10px;margin:0;background:linear-gradient(90deg,#08766d,#078d80);box-shadow:none;font-size:18px;font-weight:780}
.login-submit:hover{transform:none;box-shadow:none;background:#08766d}
.button-arrow{font-size:25px;font-weight:400;margin-left:9px;line-height:1}
.login-code{height:54px;min-height:54px;width:100%;margin-top:11px;border-radius:10px;background:#fff;color:#16314d;border:1px solid #91acc1;font-size:16px;font-weight:750;box-shadow:none}
.login-code .icon{width:22px;height:22px;color:#0c6680}
.login-error{margin-top:12px}
.login-help{width:min(100%,520px);margin-top:22px}
.help-divider{display:flex;align-items:center;gap:12px;color:#71829f;font-size:13px}
.help-divider:before,.help-divider:after{content:"";height:1px;background:#d5dee4;flex:1}
.support-link{border:0;background:transparent;margin:15px auto 0;display:flex;align-items:center;gap:14px;text-align:left;color:#08766d;padding:0}
.support-link>.icon{width:30px;height:30px;stroke-width:2.2}
.support-link strong{display:block;font-size:16px}.support-link small{display:block;color:#7a8aa4;font-size:12px;margin-top:2px}
.login-footer-brand{margin-top:auto;padding:26px 0 0 16px;border-left:2px solid #97b0bd;color:#244961;display:flex;flex-direction:column;gap:2px;font-size:11px}
.login-footer-brand strong{font-size:11px}.login-footer-brand span{color:#7487a3}
.login-art{min-height:100vh;background:#e9fbf7;position:relative;overflow:hidden}
.login-art-image{position:absolute;inset:0;background:none}

/* ----- SELECTOR ----- */
.selector-page{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr);background:#f8fbfa}
.selector-sidebar{height:100vh;position:sticky;top:0;background:linear-gradient(180deg,#076d65 0%,#00685f 55%,#005d57 100%);color:#fff;display:flex;flex-direction:column;padding:20px 15px 18px}
.selector-brand{padding:0 9px}.selector-brand .brand-mark{width:43px;height:43px;border-radius:13px;background:#0c9488;box-shadow:none}.selector-brand .brand-word{color:#fff!important;font-size:22px}.selector-brand .brand-tag{color:#e2f4f1!important;font-size:9px;letter-spacing:.12em}
.selector-user-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.15);padding:16px 7px 0}
.selector-user-footer .avatar{background:#0a9a8b;color:#fff;border-radius:13px}.selector-user-footer .user-mini strong{color:#fff;font-size:12px}.selector-user-footer .user-mini span{color:#c6e5e1;font-size:10px;max-width:150px}
.selector-logout{width:100%;height:40px;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:13px;font-weight:650;padding:0 7px}.selector-logout .icon{width:22px;height:22px}
.selector-workspace{min-width:0;background:#f8fbfa}.selector-topbar{height:75px;background:#fff;border-bottom:1px solid #e4eceb;display:flex;align-items:center;justify-content:space-between;padding:0 31px}
.selector-top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.connected-dot{width:9px;height:9px;border-radius:50%;background:#11bd8b;display:inline-block;flex:none}.connected-label,.top-sync-label{font-size:12px;color:#7183a0}.top-divider{width:1px;height:28px;background:#dce4e8;margin:0 5px}
.selector-bell,.top-icon-btn{width:38px;height:38px;border:0;background:transparent;color:#0d2945;display:grid;place-items:center;position:relative}.selector-bell .icon,.top-icon-btn .icon{width:20px;height:20px}.selector-bell i,.notification-btn i{position:absolute;right:8px;top:6px;width:7px;height:7px;border-radius:50%;background:#f11a2c;border:2px solid #fff}
.selector-account{display:flex;align-items:center;gap:9px}.selector-account .avatar,.top-user .avatar{width:42px;height:42px;border-radius:50%;background:#dff5f0;color:#067369;font-size:16px}.selector-account strong{display:block;font-size:13px}.selector-account span{display:block;font-size:11px;color:#6b7d98;margin-top:2px}.selector-account>.icon{width:15px;height:15px;margin-left:7px}
.selector-content{padding:36px 41px 24px;max-width:1510px;margin:0 auto}
.selector-hero{display:grid;grid-template-columns:minmax(0,1fr) 510px;align-items:center;min-height:210px;gap:34px}
.selector-copy{align-self:center}.selector-eyebrow{font-size:12px;letter-spacing:.24em;color:#087b70;font-weight:800;margin-bottom:17px}.selector-copy h1{font-size:53px;line-height:1.02;letter-spacing:-.048em;color:#071026;margin:0 0 6px;font-weight:850}.selector-copy h2{font-size:27px;line-height:1.2;color:#647493;font-weight:430;margin:0 0 14px;letter-spacing:-.015em}.selector-copy p{font-size:15px;color:#74839d;margin:0;line-height:1.5}
.selector-hero-art{height:190px;display:flex;align-items:center;justify-content:flex-end}.selector-hero-art img{width:510px;max-width:100%;height:auto;object-fit:contain}
.selector-action-row{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:24px;margin-top:8px}
.selector-search{height:59px;background:#fff;border:1px solid #dfe8e8;border-radius:11px;display:flex;align-items:center;gap:14px;padding:0 19px;color:#173d65;box-shadow:0 4px 15px rgba(20,52,63,.025)}.selector-search .icon{width:25px;height:25px}.selector-search input{border:0;outline:0;background:transparent;width:100%;font-size:15px;color:#0c1830}.selector-search input::placeholder{color:#8190aa}
.selector-create{height:59px;border:0;border-radius:11px;background:linear-gradient(90deg,#e3f8f4,#d5f2ed);color:#086d65;display:flex;align-items:center;gap:14px;padding:0 22px;font-size:14px;text-align:left}.selector-create strong{flex:1}.plus-circle{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#13b889;color:#fff;font-size:22px;line-height:1}
.selector-body{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:24px;margin-top:23px;align-items:start}
.selector-company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;min-width:0}.selector-company-card{min-width:0;min-height:434px;background:#fff;border:1px solid #e1e8e8;border-radius:14px;padding:20px 19px 18px;box-shadow:0 5px 17px rgba(18,59,61,.035);display:flex;flex-direction:column}.selector-company-card.principal{border:2px solid #0dc48c;padding:19px 18px 17px}.selector-card-top{display:flex;align-items:flex-start;gap:10px;min-height:116px;position:relative}.selector-company-logo{width:112px;height:112px;border-radius:14px;background:#fafafa;border:0;object-fit:contain;padding:6px}.selector-company-logo.fallback{display:grid;place-items:center;background:#eff8f6;color:#08766d;font-size:28px;font-weight:800}.principal-badge{position:absolute;right:1px;top:0;display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 10px;background:#dff5f1;color:#08766d;font-size:11px;font-weight:750;white-space:nowrap}.card-more{margin-left:auto;border:0;background:transparent;color:#153b60;padding:2px}.card-more .icon{width:19px;height:19px}.selector-company-card h3{font-size:20px;letter-spacing:-.025em;margin:12px 0 4px;color:#071026}.selector-cnpj{font-size:14px;color:#7a88a1;margin:0 0 13px}.role-pill{align-self:flex-start;display:flex;align-items:center;gap:7px;border-radius:999px;padding:7px 12px;background:#dff5f0;color:#08766d;font-size:12px;font-weight:700}.role-pill.admin{background:#e2f2ff;color:#1671da}.role-pill .icon{width:18px;height:18px}.selector-card-divider{height:1px;background:#e3eaeb;margin:15px 0 13px}.selector-description{font-size:13px;line-height:1.45;color:#667793;margin:0 0 18px}.selector-enter{margin-top:auto;width:100%;height:54px;border-radius:10px;border:1px solid #cbd9e4;background:#fff;color:#183757;font-size:14px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:16px}.selector-enter.primary{background:linear-gradient(90deg,#006c62,#007a6c);border-color:#006c62;color:#fff}.selector-enter span{font-size:22px;line-height:1}.selector-enter:disabled{opacity:.6}
.invite-panel{background:linear-gradient(180deg,#f2fbf9,#eef8f6);border:1px solid #dfeaea;border-radius:14px;padding:24px 24px 21px;min-height:434px}.invite-icon{width:62px;height:62px;border-radius:50%;background:#d7f3ed;color:#08766d;display:grid;place-items:center;position:relative}.invite-icon .icon{width:33px;height:33px}.invite-icon b{position:absolute;right:-2px;bottom:3px;width:23px;height:23px;border-radius:50%;background:#0aa184;color:#fff;border:3px solid #eaf8f5;display:grid;place-items:center;font-size:16px;line-height:1}.invite-panel h3{font-size:22px;line-height:1.25;margin:14px 0 12px;color:#0c1830}.invite-panel>p{font-size:14px;line-height:1.45;color:#74839d;margin:0 0 18px}.invite-panel>button:not(.help-link){width:100%;height:52px;border:1px solid #cfdce5;border-radius:10px;background:#fff;color:#173553;font-weight:750;display:flex;align-items:center;justify-content:space-between;padding:0 17px}.invite-separator{height:1px;background:#dce6e6;margin:22px 0}.help-title{display:flex;align-items:center;gap:10px;color:#173553}.help-title .icon{width:23px;height:23px}.help-copy{margin:9px 0 13px 34px!important;font-size:12.5px!important}.help-link{border:0;background:transparent;color:#0a8a76;font-weight:700;padding:0;margin-left:34px;font-size:12.5px}
.pending-company-block{grid-column:1/-1}.selector-footer{height:55px;margin-top:26px;display:flex;align-items:end;justify-content:space-between;color:#74839d;font-size:11px}.selector-footer>span:first-child{display:flex;align-items:center;gap:11px}.selector-footer strong{color:#173553}.selector-footer i{width:1px;height:18px;background:#aebdc7;display:inline-block}

/* ----- DASHBOARD SHELL ----- */
.app-shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr);background:var(--nexo-page)}
.sidebar{position:sticky!important;top:0;height:100vh;align-self:start;padding:20px 12px 16px;background:linear-gradient(180deg,#006c63 0%,#00655d 58%,#005d57 100%)!important;border:0!important;color:#fff!important;box-shadow:none!important;display:flex;flex-direction:column;z-index:40}
.side-brand{padding:0 11px 28px;display:flex;align-items:center;gap:12px}.side-brand .brand-mark{width:44px;height:44px;border-radius:13px;background:#0c9589!important;box-shadow:none!important}.side-brand .brand-word{color:#fff!important;font-size:22px;font-weight:850}.side-brand .brand-tag{color:#d9f2ee!important;font-size:9px;letter-spacing:.13em;font-weight:700}
.nav{display:grid;gap:6px}.nav-item{min-height:50px;border:0;border-radius:13px;background:transparent!important;color:#fff!important;padding:0 16px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:15px;opacity:.92}.nav-item:hover{background:rgba(255,255,255,.08)!important}.nav-item.active{background:rgba(33,171,154,.34)!important;color:#fff!important;opacity:1}.nav-item .icon{width:22px;height:22px;stroke-width:1.8}.nav-item.active:before{display:none}.nav-badge{margin-left:auto;background:rgba(255,255,255,.16);color:#fff}
.side-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.15)!important;padding:16px 8px 0}.side-footer .user-mini{margin-bottom:12px}.side-footer .avatar{background:#0b9a8b!important;color:#fff!important;border-radius:13px}.side-footer .user-mini strong{color:#fff!important;font-size:12px}.side-footer .user-mini span{color:#c8e6e2!important;font-size:9.5px}.logout{color:#fff!important;font-weight:600;padding-left:5px;gap:13px;display:flex;align-items:center}.logout .icon{width:22px;height:22px}
.workspace{min-width:0;min-height:100vh;background:var(--nexo-page)}
.topbar{height:74px;position:sticky;top:0;z-index:30;background:#fff!important;border-bottom:1px solid #e2e9e9!important;padding:0 28px;display:flex;align-items:center;justify-content:space-between;box-shadow:none!important}
.topbar-left{display:flex;align-items:center;gap:18px}.top-menu{display:grid!important;width:46px;height:46px;border-radius:11px;background:#f1f6f5;border:0;box-shadow:none;color:#153a55}.top-menu .icon{width:21px;height:21px}.top-company-switch{height:48px;min-width:250px;max-width:365px;border:1px solid #dce6e6;border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 12px;color:#0d1830;text-align:left}.top-company-logo{width:40px;height:28px;object-fit:contain;border-radius:5px;background:#fafafa}.top-company-logo.fallback{display:grid;place-items:center;background:#eff8f6;color:#08766d;font-weight:800}.top-company-switch>span{min-width:0;flex:1}.top-company-switch strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-company-switch small{display:block;color:#71829e;font-size:9.5px;margin-top:2px}.top-company-switch>.icon{width:15px;height:15px}
.topbar-actions{display:flex;align-items:center;gap:10px}.top-sync-label{white-space:nowrap}.top-icon-btn{border-radius:9px}.top-icon-btn:hover{background:#f4f8f7}.top-user{display:flex!important;align-items:center;gap:10px;border:0;background:transparent;padding:0}.top-user-copy strong{display:block;font-size:12px}.top-user-copy span{display:block;font-size:10px;color:#71819c;margin-top:2px}.top-user>.icon{width:14px;height:14px;margin-left:5px}
.main{padding:22px 32px 42px;max-width:none;margin:0;background:var(--nexo-page)}
.card,.dashboard-card,.overview-kpi{background:#fff;border:1px solid #dfe7e7;box-shadow:0 4px 14px rgba(18,59,61,.03)}
.view{max-width:1460px;margin:0 auto}

/* ----- OVERVIEW EXACT STYLE ----- */
.overview-view{max-width:1460px}.overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:20px}.overview-heading h1{font-size:42px;line-height:1.04;letter-spacing:-.05em;color:#071026;margin:0 0 4px;font-weight:850}.overview-heading p{font-size:14px;color:#6a7a95;margin:0}.overview-message{margin-top:0;background:linear-gradient(90deg,#e1f6f2,#dff5f1);border-radius:10px;min-height:58px;width:320px;padding:11px 14px;display:flex;align-items:center;gap:10px;color:#08766d}.overview-message>.icon{width:24px;height:24px}.overview-message strong{font-size:11px;line-height:1.45;flex:1}.overview-message button{border:0;background:transparent;color:#08766d;font-size:20px;padding:0}
.overview-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.overview-kpi{min-height:128px;border-radius:14px;padding:17px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:start;text-align:left;color:#0b1830}.overview-kpi-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center}.overview-kpi-icon .icon{width:26px;height:26px}.overview-kpi-icon.green{background:#ddf5ef;color:#079779}.overview-kpi-icon.red{background:#ffe6e8;color:#e32c39}.overview-kpi-icon.blue{background:#e2f3ff;color:#1685d0}.overview-kpi-icon.orange{background:#fff0d8;color:#c27808}.overview-kpi-copy{display:flex;flex-direction:column;min-width:0}.overview-kpi-copy small{font-size:12px;font-weight:700;color:#21314b;margin:2px 0 9px}.overview-kpi-copy strong{font-size:24px;letter-spacing:-.025em;color:#0a162c;white-space:nowrap}.overview-kpi-foot{font-size:10.5px;color:#75849f;margin-top:8px}.overview-kpi-trend{font-style:normal;font-size:11px;font-weight:700;margin-top:7px;color:#0fb66f}.overview-kpi-trend.down{color:#e33445}.overview-kpi-trend em{font-style:normal;font-weight:400;color:#76859d;margin-left:5px}.overview-kpi-chevron{font-size:28px;color:#234665;line-height:1.4}
.overview-main-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(300px,.88fr);gap:17px;margin-bottom:17px}.dashboard-card{border-radius:14px;padding:18px;min-width:0}.finance-evolution,.pdv-import-card{min-height:310px}.dashboard-card-head{display:flex;align-items:center;gap:13px}.dashboard-title-icon{width:45px;height:45px;border-radius:12px;background:#e6f5f2;color:#087a70;display:grid;place-items:center;flex:none}.dashboard-title-icon .icon{width:24px;height:24px}.dashboard-card-head h3,.compact-panel-head h3{font-size:17px;color:#0b1830;margin:0 0 2px;letter-spacing:-.02em}.dashboard-card-head p,.compact-panel-head p{font-size:10.5px;color:#74839d;margin:0}.period-select{margin-left:auto;height:34px;border:1px solid #d7e1e6;border-radius:8px;background:#fff;color:#29425c;display:flex;align-items:center;gap:9px;padding:0 11px;font-size:11px}.period-select .icon{width:14px;height:14px}.chart-legend{display:flex;justify-content:flex-end;gap:18px;font-size:10px;color:#65738e;margin:10px 4px 0}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.chart-legend .revenue{background:#08a27e}.chart-legend .expense{background:#c9d9d8}
.finance-chart-v2{height:215px;position:relative;margin-top:6px;padding-left:58px}.chart-axis{position:absolute;left:0;top:6px;bottom:30px;width:55px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;color:#75849b;font-size:9px;padding-right:8px}.chart-grid-lines{position:absolute;left:58px;right:0;top:8px;bottom:34px;display:flex;flex-direction:column;justify-content:space-between}.chart-grid-lines i{display:block;height:1px;background:#e5ebed}.chart-months{position:absolute;left:58px;right:0;top:2px;bottom:0;display:grid;grid-template-columns:repeat(6,1fr);gap:11px}.chart-month{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;padding-bottom:0}.chart-label-value{font-size:8.5px;color:#183752;margin-bottom:4px;min-height:13px;white-space:nowrap}.chart-bars{height:155px;width:62px;display:flex;align-items:flex-end;justify-content:center;gap:6px}.chart-bars>span{display:block;width:26px;border-radius:7px 7px 2px 2px;min-height:0}.revenue-bar{background:linear-gradient(180deg,#12aa8d,#078d80)}.expense-bar{background:#cbd9d9}.revenue-bar.pending{height:70%!important;background:transparent;border:1px dashed #bfd1d5}.chart-month>strong{font-size:9px;color:#40506a;margin-top:6px}.chart-month>em{position:absolute;top:9px;right:4px;background:#e7f2f0;color:#607a80;border-radius:10px;padding:4px 7px;font-size:7px;font-style:normal}
.import-head{align-items:flex-start}.pdv-dropzone{margin-top:21px;height:155px;border:1.5px dashed #a9c1ce;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#16395c;cursor:pointer;background:#fcfefe}.pdv-dropzone>.icon{width:30px;height:30px;margin-bottom:11px}.pdv-dropzone strong{font-size:12px}.pdv-dropzone span{font-size:10.5px;color:#7b8aa4;margin-top:3px}.accepted-formats{text-align:center;font-size:10px;color:#7a879e;margin:12px 0 0}
.overview-bottom-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.96fr) minmax(310px,.98fr);gap:17px}.overview-bottom-row>.dashboard-card{min-height:292px}.compact-panel-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:13px}.compact-panel-head .dashboard-title-icon{width:39px;height:39px;border-radius:10px}.compact-panel-head .dashboard-title-icon .icon{width:21px;height:21px}.panel-link{border:0;background:transparent;color:#078575;font-size:10px;font-weight:700;padding:4px;white-space:nowrap}
.recent-table-v2{display:grid}.recent-head,.recent-row{display:grid;grid-template-columns:minmax(160px,1.45fr) 88px 92px 74px 68px;gap:10px;align-items:center}.recent-head{height:30px;border-radius:8px;background:#f4f7f7;padding:0 8px;color:#65758f;font-size:9px;font-weight:700}.recent-row{min-height:42px;border-bottom:1px solid #edf1f2;padding:0 8px;font-size:9.5px;color:#53617a}.recent-row:last-child{border-bottom:0}.recent-row>strong{font-size:10px;color:#17304c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-row>b{font-size:10px;color:#23384f}.type-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#ffe8e9;color:#d64a53;padding:5px 8px;font-size:8.5px}.recent-row .status-pill{justify-self:start;padding:5px 8px;font-size:8.5px}
.stock-list-v2{display:grid}.stock-row-v2{min-height:46px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid #eef2f2}.stock-row-v2:last-child{border-bottom:0}.stock-row-icon{width:34px;height:34px;border-radius:10px;background:#e7f5f2;color:#087a70;display:grid;place-items:center}.stock-row-icon .icon{width:18px;height:18px}.stock-row-v2>span:nth-child(2){min-width:0}.stock-row-v2 strong{display:block;font-size:10px;color:#18304b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stock-row-v2 small{display:block;font-size:8.5px;color:#7d8aa0;margin-top:2px}.stock-row-v2>b{text-align:right;color:#ef3f4f;font-size:10.5px}.stock-row-v2>b small{font-weight:400;color:#8190a3;margin-top:1px}
.routine-dashboard-card{position:relative}.routine-card-date{position:absolute;right:17px;top:18px;font-size:8.5px;color:#76839b}.routine-head-v2{padding-right:110px}.routine-progress-v2{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;margin:12px 0}.routine-progress-v2 .progress-ring{width:64px;height:64px}.routine-progress-v2>div:nth-child(2)>strong{font-size:10px;color:#152d48}.routine-bar{height:10px;border-radius:999px;background:#e7eded;margin-top:8px;overflow:hidden}.routine-bar span{display:block;height:100%;border-radius:999px;background:#079c80}.routine-tasks-v2{display:grid}.routine-task-v2{height:29px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;font-size:9.5px;color:#61708a}.routine-task-v2 .check{width:17px;height:17px;border:1px solid #a9bbc7;border-radius:4px;display:grid;place-items:center;color:#fff;font-size:10px}.routine-task-v2.done .check{background:#0aa184;border-color:#0aa184}.routine-task-v2 time{font-size:8.5px;color:#748198}.routine-link{float:right;margin-top:5px}

/* Generic inner screens keep the same visual language. */
.hero-row .hero-title h1{color:#071026}.hero-row .hero-title p{color:#6b7b95}.toolbar,.table-card,.company-profile,.api-card,.routine-block,.routine-summary,.mini-stat,.product-card,.register-card,.setting-card{border-radius:14px!important;box-shadow:0 4px 14px rgba(18,59,61,.03)!important}.tab-btn.active{background:#087b70}.secondary-btn{background:#e4f6f2;color:#08766d;border-color:#cae9e3}.primary-btn{background:#087b70}
.mobile-bottom{display:none}

/* ----- RESPONSIVO ----- */

.nx42-rail-profile.active{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.16)}
.nx42-account-content{padding:34px 44px 8px;flex:1;min-width:0}
.nx42-account-content .nx42-profile{max-width:1320px;margin:0 auto}
.nx42-account-page .nx42-selector-footer{padding-top:10px}
.nx42-account-page .nx42-profile-form{min-height:380px}
@media(max-width:1280px){
  .selector-hero{grid-template-columns:minmax(0,1fr) 390px}.selector-copy h1{font-size:45px}.selector-copy h2{font-size:23px}.selector-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .overview-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-bottom-row{grid-template-columns:1fr 1fr}.routine-dashboard-card{grid-column:1/-1}.overview-main-row{grid-template-columns:1fr}.pdv-import-card{min-height:260px}
}
@media(max-width:920px){
  .login-page{grid-template-columns:1fr}.login-side{min-height:100dvh}.login-art{display:none}.login-inner{padding:34px 22px 24px}.login-brand{margin-bottom:42px}.login-copy h1{font-size:42px}
  .selector-page{display:block}.selector-sidebar{position:fixed;left:0;z-index:70;width:246px;transform:translateX(-102%);transition:.2s}.selector-topbar{padding:0 16px}.selector-content{padding:28px 16px}.selector-hero{grid-template-columns:1fr}.selector-hero-art{display:none}.selector-action-row,.selector-body{grid-template-columns:1fr}.selector-company-grid{grid-template-columns:1fr 1fr}.invite-panel{min-height:auto}.selector-copy h1{font-size:39px}.selector-copy h2{font-size:20px}
  .app-shell{display:block}.sidebar{position:fixed!important;left:0;top:0;width:240px;transform:translateX(-105%);transition:.2s;box-shadow:10px 0 28px rgba(0,0,0,.14)!important}.sidebar.open{transform:translateX(0)}.topbar{padding:0 14px}.top-company-switch{min-width:0;width:220px}.top-sync-label,.topbar-actions>.connected-dot,.topbar-actions>.top-divider{display:none}.main{padding:18px 14px 90px}.overview-heading{display:block}.overview-message{display:none}.overview-heading h1{font-size:35px}.overview-bottom-row{grid-template-columns:1fr}.routine-dashboard-card{grid-column:auto}.mobile-bottom{display:grid}
}
@media(max-width:620px){
  .login-brand{margin-bottom:34px}.login-copy h1{font-size:36px}.login-copy p{font-size:16px}.login-form{padding:20px}.login-inner{width:100%}
  .selector-account>div:nth-child(2),.connected-label{display:none}.selector-company-grid{grid-template-columns:1fr}.selector-copy h1{font-size:34px}.selector-copy h2{font-size:18px}.selector-action-row{gap:12px}.selector-create{width:100%}.selector-footer{align-items:flex-start;gap:10px;flex-direction:column;height:auto;padding-top:20px}
  .top-company-switch{width:170px}.top-company-switch small{display:none}.top-user-copy{display:none}.topbar-actions{gap:3px}.top-divider{display:none!important}.overview-kpi-grid{grid-template-columns:1fr}.overview-heading h1{font-size:31px}.overview-main-row{display:block}.finance-evolution{margin-bottom:14px;overflow-x:auto}.finance-chart-v2{min-width:660px}.overview-kpi{min-height:112px}.overview-bottom-row{display:block}.overview-bottom-row>.dashboard-card{margin-bottom:14px}.recent-table-v2{overflow-x:auto}.recent-head,.recent-row{min-width:580px}.main{padding-left:12px;padding-right:12px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.overview-kpi-trend.good{color:#0fb66f}.overview-kpi-trend.bad{color:#e33445}

/* ========================================================================== 
   NEXO WEB V9 — ajuste fino de fidelidade visual / nitidez
   ========================================================================== */

/* Tipografia: evita filtros/efeitos que dão sensação de interface "lavada". */
html{font-synthesis:none;text-rendering:optimizeLegibility}
body{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}

/* LOGIN — preserva a proporção original da arte-base em vez de esticá-la. */
@media(min-width:921px){
  .login-page{
    grid-template-columns:44.74% 55.26%;
    min-height:100vh;
    align-items:stretch;
    overflow:visible;
  }
  .login-side{
    min-height:100vh;
    align-items:stretch;
  }
  .login-inner{
    width:min(100%,612px);
    min-height:100%;
    padding:52px 30px 32px;
  }
  .login-brand{margin-bottom:56px}
  .login-copy{margin-bottom:26px}
  .login-copy h1{font-size:48px;line-height:1.065;letter-spacing:-.046em}
  .login-copy p{font-size:18px;line-height:1.45;max-width:505px}
  .login-form{width:min(100%,518px);padding:25px 25px 24px;border-color:#dfe6e8;box-shadow:0 6px 18px rgba(18,59,61,.025)}
  .input-shell{height:50px;border-color:#bfd0e0}
  .login-submit{height:54px;min-height:54px}
  .login-code{height:53px;min-height:53px}
  .login-help{width:min(100%,518px);margin-top:21px}
  .login-footer-brand{padding-top:24px}
  .login-art{
    min-height:100vh;
    background:#e9fbf7;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:flex-start;
  }
  .login-art-image{
    position:static;
    inset:auto;
    display:block;
    width:100%;
    height:auto;
    flex:0 0 auto;
    object-fit:contain;
    object-position:top center;
    background:none;
    image-rendering:auto;
  }
}

/* SELETOR — proporções da referência e barra menos pesada visualmente. */
@media(min-width:921px){
  .selector-page{grid-template-columns:240px minmax(0,1fr)}
  .selector-sidebar{
    padding:20px 14px 18px;
    background:linear-gradient(180deg,#08766f 0%,#006b64 57%,#00645e 100%);
  }
  .selector-content{padding:35px 42px 24px;max-width:1490px}
  .selector-hero{grid-template-columns:minmax(0,1fr) 500px;min-height:205px;gap:32px}
  .selector-hero-art{height:184px}
  .selector-hero-art img{width:500px}
  .selector-copy h1{font-size:51px}
  .selector-copy h2{font-size:26px}
  .selector-action-row,.selector-body{grid-template-columns:minmax(0,1fr) 342px;gap:22px}
  .selector-company-grid{gap:14px}
  .selector-company-card,.invite-panel{min-height:430px}
}

/* DASHBOARD — acabamento mais leve e mais próximo da imagem-base. */
@media(min-width:921px){
  .app-shell{grid-template-columns:240px minmax(0,1fr)}
  .sidebar{
    background:linear-gradient(180deg,#08766f 0%,#006b64 58%,#00645e 100%)!important;
  }
  .nav-item.active{background:rgba(42,174,157,.27)!important}
  .workspace,.main{background:#f7faf9}
  .main{padding:22px 32px 44px}
  .overview-view,.view{max-width:1450px}
  .overview-heading{margin-bottom:19px}
  .overview-heading h1{font-size:41px;letter-spacing:-.047em}
  .overview-kpi-grid{gap:15px;margin-bottom:17px}
  .overview-kpi{min-height:126px;border-color:#e1e8e8;box-shadow:0 5px 16px rgba(18,59,61,.025)}
  .dashboard-card{border-color:#e1e8e8;box-shadow:0 5px 16px rgba(18,59,61,.025)}
  .overview-main-row,.overview-bottom-row{gap:16px}
  .finance-evolution,.pdv-import-card{min-height:306px}
  .chart-grid-lines i{background:#e7eded}
  .chart-bars>span{border-radius:6px 6px 2px 2px}
  .pdv-dropzone{background:#fff;border-color:#acc4d0}
  .recent-head{background:#f5f8f8}
}

/* Mantém o comportamento responsivo já existente. */
@media(max-width:920px){
  .login-art-image{display:none}
}

/* ========================================================================== 
   NEXO WEB V10 — fidelidade final às artes-base
   ========================================================================== */

/* LOGIN
   A arte da direita é um recorte nativo de 924×941 da composição aprovada.
   Em telas largas ela não deve ser ampliada: o espaço adicional fica no lado
   funcional, preservando a nitidez dos textos e elementos da imagem. */
@media(min-width:921px){
  .login-page{
    grid-template-columns:minmax(0,1fr) min(55.2632vw,924px);
    min-height:max(100vh,941px);
    overflow-x:hidden;
  }
  .login-side{
    min-height:max(100vh,941px);
    justify-content:flex-start;
  }
  .login-inner{
    width:612px;
    max-width:calc(100% - 20px);
    min-height:941px;
    margin-left:clamp(0px,calc(100% - 646px),102px);
    padding:52px 30px 32px;
  }
  .login-brand,.login-copy{margin-left:6px}
  .login-copy h1{font-size:52px;line-height:1.01;letter-spacing:-.048em}
  .login-copy p{font-size:18px;line-height:1.45}
  .login-form{width:518px;max-width:100%}
  .input-shell{height:49px}
  .login-art{
    min-height:941px;
    width:100%;
    overflow:hidden;
    justify-content:flex-start;
    align-items:flex-start;
  }
  .login-art-image{
    width:min(100%,924px);
    max-width:924px;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:top left;
    flex:0 0 auto;
  }
}

/* SELETOR
   A referência usa a arte lateral no tamanho nativo (550×213), além de uma
   coluna principal levemente maior para destacar a empresa preferencial. */
@media(min-width:1400px){
  .selector-content{
    width:100%;
    max-width:none;
    padding:35px 63px 24px 42px;
  }
  .selector-hero{
    grid-template-columns:minmax(0,1fr) 550px;
    min-height:205px;
    gap:32px;
  }
  .selector-hero-art{
    width:550px;
    height:213px;
    transform:translateY(-18px);
  }
  .selector-hero-art img{
    width:550px;
    height:213px;
    max-width:none;
  }
  .selector-action-row,.selector-body{
    grid-template-columns:minmax(0,1fr) 342px;
    gap:22px;
  }
  .selector-company-grid{
    grid-template-columns:1.1fr 1fr 1fr;
    gap:14px;
  }
  .invite-panel{
    min-height:434px;
    padding:22px 24px 18px;
  }
  .invite-panel h3{margin:12px 0 10px}
  .invite-panel>p{margin-bottom:14px}
  .invite-separator{margin:16px 0}
  .help-copy{margin:7px 0 10px 34px!important}
  .selector-footer{margin-top:22px;height:51px}
}

/* VISÃO GERAL
   A linha Evolução/PDV+ na arte-base tem ~270 px. A V9 ficava cerca de 50 px
   mais alta e empurrava a linha inferior para fora do enquadramento. */
@media(min-width:921px){
  .overview-heading{margin-bottom:23px}
  .overview-kpi{min-height:131px}
  .overview-main-row{margin-bottom:16px}
  .finance-evolution,.pdv-import-card{
    min-height:270px;
    height:270px;
    overflow:hidden;
  }
  .finance-chart-v2{height:171px;margin-top:3px}
  .chart-axis{bottom:28px}
  .chart-grid-lines{bottom:31px}
  .chart-bars{height:118px}
  .pdv-dropzone{height:126px;margin-top:17px}
  .pdv-dropzone>.icon{margin-bottom:8px}
  .accepted-formats{margin-top:9px}
}

/* V10.1 — microajuste de encaixe vertical no quadro-base 1672×941. */
@media(min-width:1400px){
  .selector-footer{margin-top:18px;height:48px}
}
@media(min-width:921px){
  .main{padding-bottom:33px}
  .overview-heading{margin-bottom:20px}
  .overview-kpi-grid{margin-bottom:16px}
  .overview-kpi{min-height:130px}
  .overview-bottom-row>.dashboard-card{
    min-height:292px;
    height:292px;
    overflow:hidden;
  }
  .overview-bottom-row .dashboard-card{padding:16px}
  .overview-bottom-row .compact-panel-head{margin-bottom:9px}
  .recent-head{height:28px}
  .recent-row{min-height:34px;height:34px}
  .stock-dashboard-card .compact-panel-head{min-height:42px}
  .stock-row-v2{min-height:38px;height:38px}
  .routine-dashboard-card .compact-panel-head{min-height:43px}
  .routine-progress-v2{grid-template-columns:58px minmax(0,1fr);margin:8px 0}
  .routine-progress-v2 .progress-ring{width:58px;height:58px}
  .routine-task-v2{height:25px}
  .routine-link{margin-top:3px}
}

/* V10.2 — alinhamento horizontal do quadro-base sem reserva artificial de scrollbar. */
@media(min-width:921px){html{scrollbar-gutter:auto}}
@media(min-width:1400px){
  .selector-hero{min-height:194px}
  .selector-copy{transform:translateY(-20px)}
  .selector-footer{margin-top:29px}
}

/* ========================================================================== 
   NEXO WEB V11 — LOGIN: fidelidade tipográfica e proporcional à arte-base
   Base visual: 1672 × 941. Em desktop largo, medidas escalam com a largura
   para preservar exatamente a relação entre coluna, conteúdo e hero.
   ========================================================================== */
@media(min-width:1400px){
  .login-page{
    grid-template-columns:44.7368% 55.2632%;
    min-height:56.2799vw;
    overflow-x:hidden;
    overflow-y:visible;
  }
  .login-side{
    min-height:56.2799vw;
    justify-content:flex-start;
  }
  .login-inner{
    width:36.6029vw;
    max-width:none;
    min-height:56.2799vw;
    margin-left:6.1005vw;
    padding:3.1100vw 1.7943vw 1.9139vw;
  }
  .login-brand{
    margin-left:.3589vw;
    margin-bottom:3.4689vw;
    gap:1.7943vw;
    overflow:visible;
  }
  .login-brand .brand-mark{
    width:3.4689vw;
    height:3.4689vw;
    border-radius:.9569vw;
    overflow:visible;
    flex:none;
  }
  .login-brand .brand-mark:after{
    width:2.5120vw;
    height:2.5120vw;
    right:-.5981vw;
    bottom:-.4785vw;
    border-radius:.7775vw;
  }
  .login-brand .brand-mark img{width:74%;height:74%}
  .login-brand>div:last-child{padding-top:.1794vw}
  .login-brand .brand-word{
    font-size:2.1531vw;
    line-height:1;
    font-weight:800;
    letter-spacing:.01em;
  }
  .login-brand .brand-tag{
    margin-top:.3589vw;
    font-size:.8373vw;
    line-height:1;
    letter-spacing:.16em;
    font-weight:700;
  }
  .login-copy{
    width:32.2967vw;
    max-width:none;
    margin-left:.3589vw;
    margin-bottom:1.5550vw;
  }
  .login-copy h1{
    font-size:3.1100vw;
    line-height:1.01;
    letter-spacing:-.048em;
    font-weight:800;
    margin:0 0 .8373vw;
  }
  .login-copy p{
    width:25.7177vw;
    max-width:none;
    font-size:1.0766vw;
    line-height:1.45;
    font-weight:400;
  }
  .login-form{
    width:30.9809vw;
    max-width:none;
    padding:1.4952vw;
    border-radius:1.0766vw;
    box-shadow:0 .3589vw 1.0766vw rgba(18,59,61,.025);
  }
  .login-form .field{
    gap:.5383vw;
    margin-bottom:1.0167vw;
  }
  .login-form .field label{
    font-size:.8971vw;
    font-weight:700;
  }
  .input-shell{
    height:3.0502vw;
    gap:.7177vw;
    border-radius:.5981vw;
    padding:0 .8373vw;
  }
  .input-shell>.icon{width:1.2560vw;height:1.2560vw}
  .input-shell input{font-size:.8971vw}
  .input-icon-btn{padding:.2990vw}
  .input-icon-btn .icon{width:1.1962vw;height:1.1962vw}
  .login-form-links{margin:-.1196vw 0 1.0766vw}
  .text-link{font-size:.8373vw;font-weight:700}
  .login-submit{
    height:3.2895vw;
    min-height:3.2895vw;
    border-radius:.5981vw;
    background:linear-gradient(90deg,#006f66 0%,#008f7f 100%)!important;
    font-size:1.0766vw;
    font-weight:700;
  }
  .button-arrow{font-size:1.4952vw;margin-left:.5383vw}
  .login-code{
    height:3.2297vw;
    min-height:3.2297vw;
    margin-top:.6579vw;
    border-radius:.5981vw;
    background:#fff!important;
    color:#173758!important;
    border:1px solid #8eaac2!important;
    font-size:.9569vw;
    font-weight:700;
  }
  .login-code .icon{width:1.3158vw;height:1.3158vw;color:#0b6680}
  .login-help{
    width:30.9809vw;
    margin-top:.7775vw;
  }
  .help-divider{gap:.7177vw;font-size:.7775vw}
  .support-link{
    margin-top:.8971vw;
    gap:.8373vw;
  }
  .support-link>.icon{width:1.7943vw;height:1.7943vw}
  .support-link strong{font-size:.9569vw;font-weight:700}
  .support-link small{font-size:.7177vw;margin-top:.1196vw}
  .login-footer-brand{
    margin-left:-4.2464vw;
    margin-top:auto;
    padding:0 0 0 .9569vw;
    min-height:1.9139vw;
    border-left:2px solid #97b0bd;
    gap:.1196vw;
    font-size:.6579vw;
    justify-content:center;
  }
  .login-footer-brand strong{font-size:.6579vw}
  .login-footer-brand span{font-size:.6579vw}
  .login-art{
    width:100%;
    min-height:56.2799vw;
    height:auto;
    overflow:hidden;
    align-items:flex-start;
    justify-content:flex-start;
  }
  .login-art-image{
    position:static;
    width:100%;
    max-width:none;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:top left;
    flex:0 0 auto;
    image-rendering:auto;
  }
}

/* V11.1 — microalinhamentos do login contra o quadro de referência. */
@media(min-width:1400px){
  .login-inner{padding-bottom:1.6746vw}
  .login-brand .brand-tag{font-size:.7775vw;letter-spacing:.15em}
  .login-copy p{width:24.8206vw}
  .login-form .field{gap:.4187vw;margin-bottom:.8971vw}
  .input-shell{height:2.8708vw}
  .login-footer-brand{min-height:1.7344vw}
}

/* V11.2 — desktop real: mantém a arte em resolução nativa e usa o quadro
   1672×941 como gabarito, evitando ampliar a imagem no navegador. */
@media(min-width:1400px){
  .login-page{
    grid-template-columns:44.7368% 55.2632%;
    min-height:max(100vh,941px);
  }
  .login-side{min-height:max(100vh,941px)}
  .login-inner{
    width:612px;
    max-width:none;
    min-height:941px;
    margin-left:102px;
    padding:52px 30px 28px;
  }
  .login-brand{margin-left:6px;margin-bottom:58px;gap:30px}
  .login-brand .brand-mark{width:58px;height:58px;border-radius:16px}
  .login-brand .brand-mark:after{width:42px;height:42px;right:-10px;bottom:-8px;border-radius:13px}
  .login-brand>div:last-child{padding-top:3px}
  .login-brand .brand-word{font-size:36px}
  .login-brand .brand-tag{margin-top:6px;font-size:13px;letter-spacing:.14em}
  .login-copy{width:540px;margin-left:6px;margin-bottom:26px}
  .login-copy h1{font-size:52px;margin-bottom:14px}
  .login-copy p{width:415px;font-size:18px}
  .login-form{width:518px;padding:25px;border-radius:18px;box-shadow:0 6px 18px rgba(18,59,61,.025)}
  .login-form .field{gap:7px;margin-bottom:15px}
  .login-form .field label{font-size:15px}
  .input-shell{height:48px;gap:12px;border-radius:10px;padding:0 14px}
  .input-shell>.icon{width:21px;height:21px}
  .input-shell input{font-size:15px}
  .input-icon-btn{padding:5px}.input-icon-btn .icon{width:20px;height:20px}
  .login-form-links{margin:-2px 0 18px}.text-link{font-size:14px}
  .login-submit{height:55px;min-height:55px;border-radius:10px;font-size:18px}
  .button-arrow{font-size:25px;margin-left:9px}
  .login-code{height:54px;min-height:54px;margin-top:11px;border-radius:10px;font-size:16px}
  .login-code .icon{width:22px;height:22px}
  .login-help{width:518px;margin-top:13px}
  .help-divider{gap:12px;font-size:13px}
  .support-link{margin-top:15px;gap:14px}.support-link>.icon{width:30px;height:30px}
  .support-link strong{font-size:16px}.support-link small{font-size:12px;margin-top:2px}
  .login-footer-brand{margin-left:-71px;padding:0 0 0 16px;min-height:29px;gap:2px;font-size:11px}
  .login-footer-brand strong{font-size:11px}.login-footer-brand span{font-size:11px}
  .login-art{min-height:max(100vh,941px);height:auto;display:flex;justify-content:center;align-items:flex-start;background:#e9fbf7}
  .login-art-image{width:924px;height:941px;max-width:none;max-height:none;object-fit:contain;object-position:top center;flex:none}
}

/* V11.3 — em monitores mais largos, expande somente o quadro visual da arte
   para acompanhar a coluna sem aumentar a altura e sem cortar o rodapé. */
@media(min-width:1400px){
  .login-art-image{width:100%;height:941px;object-fit:fill;object-position:top left}
}

/* ========================================================================== 
   NEXO WEB V12 — LOGIN: sem rolagem + hero nítido em qualquer escala desktop
   ========================================================================== */
@media(min-width:921px){
  .login-page{
    height:100dvh;
    min-height:100dvh;
    max-height:100dvh;
    overflow:hidden!important;
  }
  .login-side{
    height:100dvh;
    min-height:0!important;
    max-height:100dvh;
    overflow:hidden;
  }
  .login-art{
    height:100dvh;
    min-height:0!important;
    max-height:100dvh;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e9fbf7;
  }
  .login-art-image{
    position:static!important;
    inset:auto!important;
    width:auto!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    flex:0 0 auto;
    background:none!important;
    image-rendering:auto!important;
  }
}

/* Em notebooks/monitores com viewport mais baixo, o conteúdo funcional reduz
   somente o necessário para caber no quadro sem criar scroll. */
@media(min-width:921px) and (max-height:940px){
  .login-inner{
    height:100dvh!important;
    min-height:0!important;
    padding-top:clamp(24px,4.6vh,40px)!important;
    padding-bottom:clamp(10px,1.7vh,16px)!important;
  }
  .login-brand{
    margin-bottom:clamp(24px,4.7vh,40px)!important;
    gap:clamp(16px,2.8vh,24px)!important;
  }
  .login-brand .brand-mark{
    width:clamp(48px,6.2vh,58px)!important;
    height:clamp(48px,6.2vh,58px)!important;
  }
  .login-brand .brand-word{font-size:clamp(30px,3.9vh,36px)!important}
  .login-brand .brand-tag{font-size:clamp(10px,1.35vh,13px)!important}
  .login-copy{margin-bottom:clamp(14px,2.3vh,20px)!important}
  .login-copy h1{
    font-size:clamp(38px,5.7vh,48px)!important;
    margin-bottom:clamp(8px,1.3vh,12px)!important;
  }
  .login-copy p{
    font-size:clamp(15px,2.05vh,17px)!important;
    line-height:1.38!important;
  }
  .login-form{
    padding:clamp(18px,2.7vh,23px)!important;
  }
  .login-form .field{
    gap:clamp(5px,.8vh,7px)!important;
    margin-bottom:clamp(10px,1.55vh,14px)!important;
  }
  .login-form .field label{font-size:clamp(13px,1.7vh,15px)!important}
  .input-shell{
    height:clamp(42px,5.5vh,48px)!important;
  }
  .input-shell input{font-size:clamp(13px,1.7vh,15px)!important}
  .login-form-links{
    margin-top:-1px!important;
    margin-bottom:clamp(10px,1.7vh,16px)!important;
  }
  .text-link{font-size:clamp(12px,1.55vh,14px)!important}
  .login-submit{
    height:clamp(47px,6.1vh,55px)!important;
    min-height:0!important;
    font-size:clamp(15px,1.95vh,18px)!important;
  }
  .login-code{
    height:clamp(46px,5.9vh,54px)!important;
    min-height:0!important;
    margin-top:clamp(7px,1.1vh,10px)!important;
    font-size:clamp(14px,1.75vh,16px)!important;
  }
  .login-help{
    margin-top:clamp(8px,1.2vh,12px)!important;
  }
  .help-divider{font-size:clamp(11px,1.35vh,13px)!important}
  .support-link{
    margin-top:clamp(8px,1.35vh,12px)!important;
  }
  .support-link>.icon{
    width:clamp(24px,3.25vh,30px)!important;
    height:clamp(24px,3.25vh,30px)!important;
  }
  .support-link strong{font-size:clamp(13px,1.75vh,16px)!important}
  .support-link small{font-size:clamp(10px,1.3vh,12px)!important}
  .login-footer-brand{
    margin-top:auto!important;
    padding-top:0!important;
    min-height:clamp(23px,3vh,29px)!important;
    font-size:clamp(9px,1.15vh,11px)!important;
  }
  .login-footer-brand strong,.login-footer-brand span{
    font-size:clamp(9px,1.15vh,11px)!important;
  }
}


/* ========================================================================== 
   NEXO WEB V13 — refinamento do login (nitidez da arte + autofill dos campos)
   ========================================================================== */
@media(min-width:921px){
  .login-page{
    min-height:100vh;
    height:100vh;
    overflow:hidden;
    grid-template-columns:44.4% 55.6%;
  }
  .login-side,.login-inner,.login-art{min-height:100vh;height:100vh}
  .login-art{
    background:#ecfbf7;
    display:flex;
    align-items:stretch;
    justify-content:stretch;
    overflow:hidden;
  }
  .login-art-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    background:none!important;
    filter:none!important;
    opacity:1;
    image-rendering:auto;
  }
}

.login-form{box-shadow:0 4px 12px rgba(25,54,67,.022)}
.input-shell{
  height:52px;
  border-radius:8px;
  padding:0 16px;
  overflow:hidden;
}
.input-shell input{
  min-width:0;
  line-height:1.2;
}
.input-shell input:-webkit-autofill,
.input-shell input:-webkit-autofill:hover,
.input-shell input:-webkit-autofill:focus,
.input-shell input:-internal-autofill-selected{
  -webkit-text-fill-color:#0c1830 !important;
  -webkit-box-shadow:0 0 0 1000px #fff inset !important;
  box-shadow:0 0 0 1000px #fff inset !important;
  caret-color:#0c1830;
  border-radius:0 !important;
  background-clip:content-box !important;
}
.input-icon-btn{padding:0;width:20px;height:20px;flex:none}


/* ==========================================================================
   P24 — LOGIN HERO FIX
   Remove a aparência de screenshot do computador e evita sensação de esticamento
   usando a nova arte limpa em alta resolução.
   ========================================================================== */
@media(min-width:921px){
  .login-art{
    background:#ecfbf7;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .login-art-image{
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:none !important;
    filter:none !important;
  }
}


/* ==========================================================================
   P24.1 — HERO SVG FINAL
   Hero em SVG para nitidez real, sem aparência de screenshot e sem blur.
   ========================================================================== */
@media(min-width:921px){
  .login-art{
    background:#ECFBF7;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:22px 28px;
    overflow:hidden;
  }
  .login-art-image{
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:none !important;
    filter:none !important;
  }
  .selector-hero-art img{
    display:block;
    width:min(100%,560px);
    height:auto;
    object-fit:contain;
  }
}
@media(max-width:920px){
  .login-art{display:none}
}


/* ==========================================================================
   P24.3 — LOGIN HERO IMAGE FINAL
   Usa a arte nova em alta resolução e prioriza exibição limpa, sem distorção.
   ========================================================================== */
@media (min-width: 921px){
  .login-art{
    background:#ECFBF7 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:14px !important;
    overflow:hidden !important;
  }
  .login-art-image{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    image-rendering:auto !important;
    filter:none !important;
    background:none !important;
  }
}


/* ==========================================================================
   P24.4 — SELECTOR MATCH TO BASE + LOGIN REGISTER CTA
   Refina o seletor para aproximar ao layout-base e adiciona CTA de cadastro no login.
   ========================================================================== */
.login-register-btn{margin-top:10px}
.login-register-copy{margin-top:10px;font-size:12.5px;line-height:1.45;color:#6f8099;text-align:center}

@media (min-width: 921px){
  .selector-page{grid-template-columns:210px minmax(0,1fr)!important;background:#F8FBFA!important}
  .selector-sidebar{padding:20px 14px 16px!important;background:linear-gradient(180deg,#0B8279 0%,#076D65 55%,#005F59 100%)!important}
  .selector-brand{padding:0 10px!important}
  .selector-brand .brand-mark{width:42px!important;height:42px!important;border-radius:13px!important;background:#11A093!important}
  .selector-brand .brand-word{font-size:22px!important;letter-spacing:-.03em!important}
  .selector-brand .brand-tag{font-size:9px!important;letter-spacing:.15em!important;text-transform:uppercase!important}
  .selector-user-footer{padding:14px 8px 0!important}
  .selector-user-footer .user-mini strong{font-size:11px!important}
  .selector-user-footer .user-mini span{font-size:9.5px!important}
  .selector-logout{height:38px!important;font-size:12px!important;font-weight:700!important}

  .selector-workspace{background:#F8FBFA!important}
  .selector-topbar{height:74px!important;padding:0 24px!important;background:#FFF!important;border-bottom:1px solid #E4ECEB!important}
  .selector-top-actions{gap:11px!important}
  .connected-label{font-size:12px!important;color:#7384A0!important}
  .top-divider{height:30px!important;background:#DFE6EB!important}
  .selector-bell{width:36px!important;height:36px!important}
  .selector-bell .icon{width:20px!important;height:20px!important}
  .selector-account{gap:10px!important}
  .selector-account .avatar{width:40px!important;height:40px!important;font-size:16px!important}
  .selector-account strong{font-size:13px!important;color:#0C1830!important}
  .selector-account span{font-size:10.5px!important;color:#73849D!important}

  .selector-content{max-width:1378px!important;padding:28px 36px 16px!important}
  .selector-hero{grid-template-columns:minmax(0,1fr) 430px!important;gap:26px!important;min-height:168px!important;align-items:end!important;margin-bottom:8px!important}
  .selector-eyebrow{font-size:12px!important;letter-spacing:.34em!important;color:#0B7E74!important;font-weight:800!important;margin-bottom:12px!important}
  .selector-copy h1{font-size:60px!important;line-height:1.02!important;letter-spacing:-.06em!important;margin:0 0 6px!important;color:#071026!important;font-weight:850!important}
  .selector-copy h2{font-size:27px!important;line-height:1.18!important;letter-spacing:-.03em!important;color:#5F7290!important;margin:0 0 14px!important;font-weight:450!important}
  .selector-copy p{font-size:15px!important;line-height:1.52!important;color:#74849E!important;max-width:760px!important}
  .selector-hero-art{height:176px!important;justify-content:flex-start!important;align-items:flex-end!important}
  .selector-hero-art img{width:430px!important;max-width:100%!important;height:auto!important;object-fit:contain!important}

  .selector-action-row{grid-template-columns:minmax(0,1fr) 292px!important;gap:22px!important;margin-top:14px!important}
  .selector-search{height:56px!important;border-radius:12px!important;border:1px solid #DEE8E7!important;box-shadow:none!important;padding:0 18px!important;gap:14px!important}
  .selector-search .icon{width:24px!important;height:24px!important;color:#173A61!important}
  .selector-search input{font-size:15px!important;color:#0C1830!important}
  .selector-search input::placeholder{color:#8693AA!important}
  .selector-create{height:56px!important;border-radius:12px!important;padding:0 18px!important;background:linear-gradient(90deg,#E3F7F3,#D7F2ED)!important;color:#0A7C72!important;font-size:14px!important;font-weight:750!important;box-shadow:none!important}
  .selector-create strong{font-size:14px!important}
  .selector-create span:last-child{font-size:20px!important;line-height:1!important;color:#0B7C72!important}
  .plus-circle{width:29px!important;height:29px!important;background:#14B888!important;font-size:22px!important}

  .selector-body{grid-template-columns:minmax(0,1fr) 294px!important;gap:22px!important;margin-top:20px!important;align-items:start!important}
  .selector-company-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}
  .selector-company-card{min-height:432px!important;border-radius:16px!important;border:1px solid #DFE8E8!important;box-shadow:none!important;padding:18px 18px 20px!important;background:#FFF!important}
  .selector-company-card.principal{border:2px solid #11C38D!important;padding:17px 17px 19px!important}
  .selector-card-top{min-height:116px!important;gap:12px!important}
  .selector-company-logo{width:104px!important;height:104px!important;border-radius:16px!important;background:#FAFAFA!important;padding:6px!important;object-fit:contain!important}
  .selector-company-logo.fallback{font-size:26px!important;font-weight:800!important;color:#08766D!important;background:#EEF8F6!important}
  .principal-badge{top:0!important;right:0!important;padding:8px 12px!important;border-radius:999px!important;background:#DFF5F1!important;color:#08766D!important;font-size:11px!important;font-weight:800!important;gap:6px!important}
  .card-more{padding:4px!important;color:#173D65!important}
  .card-more .icon{width:18px!important;height:18px!important}
  .selector-company-card h3{font-size:19px!important;line-height:1.22!important;letter-spacing:-.03em!important;margin:14px 0 6px!important;color:#071026!important;font-weight:800!important}
  .selector-cnpj{font-size:13px!important;color:#7A89A1!important;margin:0 0 14px!important}
  .role-pill{padding:7px 12px!important;border-radius:999px!important;font-size:12px!important;font-weight:700!important;background:#DFF5F0!important;color:#08766D!important;gap:8px!important}
  .role-pill.admin{background:#E4F0FF!important;color:#1A6FE0!important}
  .role-pill .icon{width:18px!important;height:18px!important}
  .selector-card-divider{margin:16px 0 14px!important;background:#E2E9EB!important}
  .selector-description{font-size:13px!important;line-height:1.45!important;color:#6B7B95!important;margin:0 0 18px!important}
  .selector-enter{height:56px!important;border-radius:12px!important;font-size:14px!important;font-weight:800!important;justify-content:center!important;gap:14px!important;border:1px solid #CBD9E4!important;color:#173553!important;background:#FFF!important}
  .selector-enter.primary{background:linear-gradient(90deg,#006B62,#00796D)!important;border-color:#006B62!important;color:#FFF!important;box-shadow:0 10px 24px rgba(0,108,98,.12)!important}
  .selector-enter span{font-size:22px!important}

  .invite-panel{min-height:432px!important;border-radius:16px!important;border:1px solid #DFE8E8!important;background:linear-gradient(180deg,#F2FBF9 0%,#EEF8F6 100%)!important;padding:18px 22px 18px!important;box-shadow:none!important}
  .invite-icon{width:56px!important;height:56px!important;background:#D7F3ED!important;color:#08766D!important}
  .invite-icon .icon{width:30px!important;height:30px!important}
  .invite-icon b{width:22px!important;height:22px!important;font-size:15px!important;background:#0AA184!important;border:3px solid #ECF8F5!important;right:-2px!important;bottom:2px!important}
  .invite-panel h3{font-size:20px!important;line-height:1.25!important;letter-spacing:-.03em!important;margin:14px 0 12px!important;color:#0C1830!important;font-weight:800!important}
  .invite-panel>p{font-size:14px!important;line-height:1.45!important;color:#72839D!important;margin:0 0 18px!important}
  .invite-panel>button:not(.help-link){height:54px!important;border-radius:10px!important;border:1px solid #CFDCE5!important;background:#FFF!important;color:#173553!important;font-size:13px!important;font-weight:800!important;padding:0 18px!important}
  .invite-separator{margin:20px 0!important;background:#DCE5E7!important}
  .help-title{gap:10px!important;color:#173553!important}
  .help-title .icon{width:22px!important;height:22px!important}
  .help-title strong{font-size:13px!important}
  .help-copy{margin:8px 0 12px 34px!important;font-size:12.5px!important;line-height:1.45!important;color:#76859D!important}
  .help-link{margin-left:34px!important;font-size:12.5px!important;font-weight:800!important;color:#0A8A76!important}

  .selector-footer{height:48px!important;margin-top:18px!important;align-items:center!important;font-size:11px!important;color:#7B8AA0!important}
  .selector-footer strong{color:#173553!important}
  .selector-footer i{height:16px!important;background:#B9C4CC!important}
}

@media (max-width: 920px){
  .login-register-copy{text-align:left}
}


/* ==========================================================================
   P24.5 — Login links + sidebar tone/icon refinements
   Ajusta CTA do login, centraliza os sinais de + e aproxima sidebars do app/login.
   ========================================================================== */
.login-form-links{justify-content:space-between!important;align-items:center!important}
.login-register-btn,.login-register-copy{display:none!important}
.text-link#login-register{text-align:left!important}
.text-link#forgot-password{text-align:right!important}

@media (min-width: 921px){
  /* Selector sidebar closer to login/app tone */
  .selector-sidebar,
  .sidebar{
    background:linear-gradient(180deg,#096E67 0%, #075F59 54%, #05524D 100%)!important;
    box-shadow:none!important;
  }
  .selector-brand .brand-mark,
  .side-brand .brand-mark{
    background:transparent!important;
    box-shadow:none!important;
  }
  .selector-brand .brand-mark img,
  .side-brand .brand-mark img{
    width:100%!important;height:100%!important;object-fit:contain!important;
    filter:none!important;opacity:1!important;
  }
  .selector-brand .brand-word,
  .side-brand .brand-word{color:#FFFFFF!important}
  .selector-brand .brand-tag,
  .side-brand .brand-tag{color:#D9F0ED!important}

  /* selector left-bottom account muted, readable */
  .selector-user-footer,
  .side-footer{border-top:1px solid rgba(255,255,255,.14)!important}
  .selector-user-footer .avatar,
  .side-footer .avatar{
    background:rgba(255,255,255,.12)!important;
    color:#FFFFFF!important;
    border:1px solid rgba(255,255,255,.08)!important;
  }
  .selector-user-footer .user-mini strong,
  .side-footer .user-mini strong{color:#F6FBFA!important}
  .selector-user-footer .user-mini span,
  .side-footer .user-mini span{color:rgba(230,245,242,.72)!important}
  .selector-logout,
  .logout{color:#F7FCFB!important;opacity:.96!important}
  .selector-logout:hover,
  .logout:hover{background:rgba(255,255,255,.05)!important;border-radius:10px!important}

  /* Selector + icons centered */
  .plus-circle,
  .invite-icon b{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1!important;
    text-align:center!important;
    font-family:Inter, Arial, sans-serif!important;
  }
  .plus-circle{padding-bottom:1px!important}
  .invite-icon b{padding-bottom:1px!important}

  /* Selector action / invite sizing tune */
  .selector-create{gap:12px!important}
  .selector-create .plus-circle{flex:none!important}
  .invite-icon{display:flex!important;align-items:center!important;justify-content:center!important}

  /* In-app sidebar active state closer to app feel */
  .nav-item{color:rgba(255,255,255,.94)!important}
  .nav-item:hover{background:rgba(255,255,255,.06)!important}
  .nav-item.active{background:rgba(30,160,145,.34)!important}
  .nav-item .icon{width:21px!important;height:21px!important;stroke-width:1.9!important}
}


/* ==========================================================================
   P24.6 — Dashboard finance/import refinements
   ========================================================================== */
@media (min-width: 921px){
  .recent-head,.recent-row{
    grid-template-columns:minmax(160px,1.45fr) 86px 92px 72px 88px!important;
    gap:8px!important;
  }
  .recent-row .status-pill{
    justify-self:start!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:58px!important;
    max-width:84px!important;
    padding:4px 7px!important;
    font-size:8px!important;
    line-height:1!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
  }
  .recent-row .status-pill:before{width:5px!important;height:5px!important;flex:none!important}
  .recent-row .type-pill{
    white-space:nowrap!important;
    padding:4px 7px!important;
    font-size:8px!important;
    line-height:1!important;
  }
}

/* PDV+ functional upload */
.pdv-dropzone{transition:border-color .16s ease,background .16s ease,transform .16s ease}
.pdv-dropzone.dragover{border-color:#0A8F82!important;background:#F0FBF8!important;transform:translateY(-1px)}
.pdv-dropzone.is-importing{pointer-events:none;opacity:.72}
.pdv-import-status{display:none;margin-top:10px;border-radius:10px;padding:9px 11px;background:#F4F8F7;color:#5F718A;align-items:center;gap:8px;min-height:40px}
.pdv-import-status.show{display:flex}
.pdv-import-status strong,.pdv-import-status small{display:block}
.pdv-import-status strong{font-size:11px;color:#173553;line-height:1.2}
.pdv-import-status small{font-size:9.5px;color:#72839D;margin-top:2px}
.pdv-import-status .spinner{width:16px;height:16px;border-width:2px;flex:none}
.pdv-import-status.success{background:#EAF8F4}
.pdv-import-status.success strong{color:#08766D}
.pdv-import-status.error{background:#FFF0F2}
.pdv-import-status.error strong{color:#C73A4F}
.accepted-formats{margin-top:8px!important}


/* ==========================================================================
   P24.6 — Estoque em atenção com imagens reais dos produtos
   ========================================================================== */
.product-thumb{
  position:relative;
  overflow:hidden;
  flex:none;
}
.product-thumb.has-photo{
  background:#fff!important;
  border:1px solid #E4EBEC;
}
.product-thumb.has-photo img{
  position:absolute;
  inset:2px;
  width:calc(100% - 4px);
  height:calc(100% - 4px);
  object-fit:contain;
  object-position:center;
  border-radius:8px;
  display:block;
}
.product-thumb.has-photo>.icon{display:none!important}
.product-thumb.has-photo.image-error>.icon{display:block!important}
.product-thumb.has-photo.image-error{
  background:#E7F5F2!important;
  border-color:transparent;
}
.stock-row-icon.product-thumb{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
}
.stock-product-thumb{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
}
.stock-product-thumb img{border-radius:8px!important}

/* ========================================================================== 
   P24.6 — ANALYTICS / SALES + EXPENSES
   Tela dedicada a análises, separando inteligência gerencial de Finanças.
   ========================================================================== */
.analytics-view{max-width:1460px}
.analytics-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}
.analytics-hero .eyebrow{font-size:10px;letter-spacing:.24em;font-weight:800;color:#087b70;margin-bottom:8px}
.analytics-hero h1{margin:0 0 5px;font-size:42px;line-height:1.03;letter-spacing:-.05em;color:#071026;font-weight:850}
.analytics-hero p{margin:0;color:#6b7b95;font-size:14px}
.analytics-periods{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid #dfe7e7;border-radius:11px;background:#fff}
.analytics-periods button{height:33px;border:0;border-radius:8px;background:transparent;padding:0 13px;color:#687b95;font-size:11px;font-weight:750;white-space:nowrap}
.analytics-periods button:hover{background:#f2f7f6;color:#0a7068}
.analytics-periods button.active{background:#e0f5f0;color:#08766d}

.analytics-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:17px}
.analytics-kpi{min-height:128px;background:#fff;border:1px solid #dfe7e7;border-radius:14px;padding:17px;display:flex;gap:13px;box-shadow:0 4px 14px rgba(18,59,61,.03)}
.analytics-kpi-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;flex:none}
.analytics-kpi-icon .icon{width:25px;height:25px}
.analytics-kpi-icon.green{background:#ddf5ef;color:#079779}
.analytics-kpi-icon.red{background:#ffe6e8;color:#e32c39}
.analytics-kpi-icon.blue{background:#e4f2ff;color:#197fcc}
.analytics-kpi-icon.orange{background:#fff0d8;color:#c27808}
.analytics-kpi-copy{min-width:0;display:flex;flex-direction:column}
.analytics-kpi-copy>span{font-size:12px;font-weight:750;color:#23334b;margin:2px 0 8px}
.analytics-kpi-copy>strong{font-size:24px;line-height:1.1;letter-spacing:-.03em;color:#09162b;white-space:nowrap}
.analytics-kpi-copy>small{font-size:10.5px;color:#74839d;margin-top:8px;line-height:1.35}
.analytics-kpi-copy>em{font-style:normal;font-size:10.5px;font-weight:750;margin-top:8px}
.analytics-kpi-copy>em.good{color:#08a66f}
.analytics-kpi-copy>em.bad{color:#e23a49}

.analytics-grid-main{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(300px,.85fr);gap:17px;margin-bottom:17px}
.analytics-grid-bottom{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(0,1.6fr);gap:17px}
.analytics-trend-card,.analytics-expense-card,.analytics-products-card,.analytics-detail-card{min-width:0;padding:18px}
.analytics-trend-card{min-height:365px}
.analytics-expense-card{min-height:365px}
.analytics-products-card,.analytics-detail-card{min-height:390px}
.analytics-chart-head,.analytics-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.analytics-chart-head h3,.analytics-card-head h3{font-size:17px;letter-spacing:-.02em;color:#0b1830;margin:0 0 3px}
.analytics-chart-head p,.analytics-card-head p{font-size:10.5px;color:#74839d;margin:0}
.analytics-legend{display:flex;align-items:center;gap:14px;font-size:10px;color:#687992;white-space:nowrap}
.analytics-legend span{display:flex;align-items:center;gap:6px}
.analytics-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}
.analytics-legend i.sales{background:#0aa27e}
.analytics-legend i.expenses{background:#f05b65}
.analytics-source{font-size:10px;font-weight:800;color:#08766d;background:#e1f5f1;border-radius:999px;padding:6px 9px}

.analytics-trend-wrap{width:100%;overflow:hidden}
.analytics-trend-svg{display:block;width:100%;height:280px;overflow:visible}
.analytics-grid line{stroke:#e5ecee;stroke-width:1}
.analytics-grid text,.analytics-xlabels text{font-family:Inter,Arial,sans-serif;fill:#74839a;font-size:10px}
.analytics-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.analytics-line.revenue{stroke:#0a9f82}
.analytics-line.expense{stroke:#ee6470}
.analytics-dot.revenue{fill:#0a9f82;stroke:#fff;stroke-width:1.5}
.analytics-dot.expense{fill:#ee6470;stroke:#fff;stroke-width:1.5}

.analytics-hbars{display:grid;gap:16px;margin-top:22px}
.analytics-hbar{display:grid;gap:7px}
.analytics-hbar-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11.5px;color:#54667e}
.analytics-hbar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.analytics-hbar-label strong{font-size:11px;color:#173553;white-space:nowrap}
.analytics-hbar-track{height:8px;background:#edf3f2;border-radius:999px;overflow:hidden}
.analytics-hbar-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#f17b83,#e8515d)}

.analytics-product-list{display:grid;gap:9px}
.analytics-product-row{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f2}
.analytics-product-row:last-child{border-bottom:0}
.analytics-rank{width:27px;height:27px;border-radius:9px;background:#e8f6f3;color:#08766d;display:grid;place-items:center;font-size:11px;font-weight:800}
.analytics-product-copy{min-width:0}
.analytics-product-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#172640;margin-bottom:2px}
.analytics-product-copy small{display:block;font-size:9.5px;color:#7a899f;margin-bottom:6px}
.analytics-product-track{height:4px;background:#edf3f2;border-radius:999px;overflow:hidden}
.analytics-product-track i{height:100%;display:block;border-radius:999px;background:#0b9c81}
.analytics-product-value{font-size:11px;color:#173553;white-space:nowrap}

.analytics-table-wrap{overflow:auto;max-height:330px;border:1px solid #e7edee;border-radius:10px}
.analytics-table{width:100%;border-collapse:collapse;font-size:10.5px;min-width:660px}
.analytics-table thead{position:sticky;top:0;z-index:1;background:#f5f8f8}
.analytics-table th{padding:10px 11px;text-align:left;color:#60728b;font-size:9.5px;font-weight:800;border-bottom:1px solid #e3e9eb;white-space:nowrap}
.analytics-table td{padding:10px 11px;border-bottom:1px solid #edf1f2;color:#52647e;white-space:nowrap}
.analytics-table tbody tr:last-child td{border-bottom:0}
.analytics-table .money{font-weight:750;color:#173553}
.analytics-table .positive{color:#087c70}
.analytics-table .negative{color:#de4451}
.analytics-empty{display:grid;place-items:center;min-height:150px;text-align:center;color:#78879d;font-size:12px}

@media(max-width:1200px){
  .analytics-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .analytics-grid-main,.analytics-grid-bottom{grid-template-columns:1fr}
  .analytics-products-card,.analytics-detail-card,.analytics-expense-card{min-height:auto}
}
@media(max-width:760px){
  .analytics-hero{align-items:flex-start;flex-direction:column}
  .analytics-periods{width:100%;overflow:auto;justify-content:flex-start}
  .analytics-kpi-grid{grid-template-columns:1fr}
  .analytics-hero h1{font-size:36px}
  .analytics-trend-svg{height:235px;min-width:720px}
  .analytics-trend-wrap{overflow-x:auto;padding-bottom:5px}
}

/* ========================================================================== 
   P24.6 — ANALYTICS PRO FILTERS + SMART PURCHASE PLANNING
   ========================================================================== */
.analytics-filter-card{margin:-3px 0 17px;background:#fff;border:1px solid #dfe7e7;border-radius:14px;padding:13px 14px 11px;box-shadow:0 4px 14px rgba(18,59,61,.025)}
.analytics-filter-fields{display:grid;grid-template-columns:1.1fr 1fr 1fr .82fr .82fr .9fr auto;gap:9px;align-items:end}
.analytics-filter-fields label{display:grid;gap:5px;min-width:0}
.analytics-filter-fields label>span{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#74849c;font-weight:800}
.analytics-filter-fields input,.analytics-filter-fields select{width:100%;height:38px;border:1px solid #d9e3e6;border-radius:9px;background:#fbfdfd;color:#173553;padding:0 10px;font:inherit;font-size:11px;outline:0}
.analytics-filter-fields input:focus,.analytics-filter-fields select:focus{border-color:#79b8af;box-shadow:0 0 0 3px rgba(8,123,112,.07);background:#fff}
.analytics-apply{height:38px;padding:0 17px;border:0;border-radius:9px;background:#087b70;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}
.analytics-apply:hover{background:#066d64}
.analytics-filter-note{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid #edf1f2;color:#72829a;font-size:10px;min-width:0}
.analytics-filter-note .icon{width:15px;height:15px;color:#087b70;flex:none}
.analytics-filter-note span{min-width:0;flex:1}
.analytics-filter-note strong{color:#365169;white-space:nowrap;font-size:10px}

.analytics-purchase-card{margin-bottom:17px;padding:18px;min-height:220px}
.analytics-purchase-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:start;margin-bottom:13px}
.analytics-purchase-head .analytics-card-head{margin-bottom:7px}
.purchase-explain{font-size:10.5px;line-height:1.5;color:#6d7e96;max-width:920px}
.purchase-explain strong{color:#27435d}
.purchase-controls{display:flex;gap:8px;align-items:center}
.purchase-controls label{height:52px;min-width:118px;border:1px solid #dce6e7;background:#f9fcfb;border-radius:11px;padding:6px 9px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;column-gap:5px;align-items:center}
.purchase-controls label>span{grid-column:1/-1;font-size:8.5px;text-transform:uppercase;letter-spacing:.07em;color:#77879d;font-weight:800}
.purchase-controls input{width:54px;border:0;background:transparent;outline:0;color:#0d2f4a;font-size:17px;font-weight:850;padding:0}
.purchase-controls b{font-size:10px;color:#63758f}
.purchase-list{border-top:1px solid #edf1f2}
.purchase-row{display:grid;grid-template-columns:minmax(260px,1.25fr) 130px minmax(330px,1.25fr);gap:16px;align-items:center;min-height:72px;padding:10px 2px;border-bottom:1px solid #edf1f2}
.purchase-row:last-child{border-bottom:0}
.purchase-product{display:flex;align-items:center;gap:11px;min-width:0}
.purchase-thumb{width:43px;height:43px;border-radius:11px;background:#e9f7f4;color:#087b70;display:grid;place-items:center;overflow:hidden;flex:none;border:1px solid #dcebea}
.purchase-thumb img{width:100%;height:100%;object-fit:contain;padding:3px;background:#fff}
.purchase-thumb>.icon{width:21px;height:21px}
.purchase-thumb.has-photo>.icon{display:none}.purchase-thumb.image-error>.icon{display:block}
.purchase-product>div{min-width:0}.purchase-product strong{display:block;font-size:12px;color:#172640;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px}
.purchase-product span{display:block;color:#78879c;font-size:9.5px;line-height:1.35}
.purchase-coverage{display:grid;gap:3px;padding-left:10px;border-left:1px solid #e7edee}
.purchase-coverage span{font-size:9px;color:#7a899e}.purchase-coverage strong{font-size:12px;color:#173553}
.purchase-suggestion{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;row-gap:3px;align-items:center;min-width:0}
.purchase-suggestion>strong{font-size:12px;color:#0d263e;min-width:0}
.purchase-suggestion>small{grid-column:2;font-size:9.5px;color:#75859b;line-height:1.35}
.purchase-priority{font-size:8.5px;font-weight:850;border-radius:999px;padding:5px 7px;white-space:nowrap}
.purchase-priority.urgent{background:#ffe5e7;color:#d73e4b}.purchase-priority.plan{background:#fff0d8;color:#a9680b}.purchase-priority.ok{background:#def4ee;color:#08766d}
.purchase-foot{display:flex;align-items:center;gap:16px;padding-top:10px;color:#718198;font-size:9.5px}
.purchase-foot span+span{padding-left:16px;border-left:1px solid #dfe7e8}.purchase-foot .panel-link{margin-left:auto}
.purchase-empty{min-height:110px}

@media(max-width:1280px){
  .analytics-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
  .analytics-apply{grid-column:auto}
  .purchase-row{grid-template-columns:minmax(230px,1fr) 115px minmax(280px,1.2fr)}
}
@media(max-width:920px){
  .analytics-filter-fields{grid-template-columns:1fr 1fr}
  .analytics-apply{width:100%}
  .analytics-filter-note{align-items:flex-start;flex-wrap:wrap}.analytics-filter-note strong{width:100%;padding-left:23px;white-space:normal}
  .analytics-purchase-head{grid-template-columns:1fr}.purchase-controls{justify-content:flex-start}
  .purchase-row{grid-template-columns:1fr;gap:8px}.purchase-coverage{border-left:0;padding-left:54px}.purchase-suggestion{margin-left:54px}
  .purchase-foot{align-items:flex-start;flex-direction:column;gap:6px}.purchase-foot span+span{border-left:0;padding-left:0}.purchase-foot .panel-link{margin-left:0}
}
@media(max-width:620px){
  .analytics-filter-fields{grid-template-columns:1fr}.purchase-controls{width:100%}.purchase-controls label{flex:1}.purchase-suggestion,.purchase-coverage{margin-left:0;padding-left:0}
}
.purchase-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:9px}
.purchase-summary span{font-size:9.5px;color:#74849a}.purchase-summary b{color:#173553;font-size:10.5px;margin-right:3px}


/* =====================================================================
   P24 v40 — Takeat-inspired global redesign (NEXO palette preserved)
   ===================================================================== */
:root{
  --bg:#f6f7f8!important;
  --bg-2:#f0f3f4!important;
  --surface:#ffffff!important;
  --surface-2:#fbfcfc!important;
  --surface-3:#f4f7f8!important;
  --text:#171b24!important;
  --text-2:#586273!important;
  --muted:#8b94a3!important;
  --line:#e5eaee!important;
  --line-2:#dbe2e8!important;
  --brand:#0b8279!important;
  --brand-2:#076d65!important;
  --brand-3:#055a54!important;
  --brand-soft:#e8f6f3!important;
  --brand-softer:#f2fbf8!important;
  --danger:#d94d58!important;
  --danger-soft:#fdeef0!important;
  --warning:#c18417!important;
  --warning-soft:#fff3dc!important;
  --success:#0f996c!important;
  --success-soft:#e8f8f1!important;
  --shadow:0 12px 34px rgba(21,31,41,.05)!important;
  --shadow-soft:0 4px 12px rgba(21,31,41,.035)!important;
  --radius:16px!important;
  --radius-sm:11px!important;
  --sidebar:224px!important;
  --topbar:72px!important;
}
html,body{
  background:var(--bg)!important;
  color:var(--text)!important;
}
body{
  background:var(--bg)!important;
}
body::before,
body::after,
.login-shell::before,
.login-shell::after,
.login-page::before,
.login-page::after{
  display:none!important;
}
.main,
.workspace,
.selector-workspace,
.login-side,
.login-page,
.selector-page,
.app-shell{
  background:var(--bg)!important;
}

/* Shared panels, cards and inputs */
.card,
.dashboard-card,
.overview-kpi,
.selector-company-card,
.invite-panel,
.toolbar,
.table-card,
.company-profile,
.api-card,
.routine-block,
.routine-summary,
.mini-stat,
.product-card,
.register-card,
.setting-card,
.analytics-filter-card,
.analytics-kpi,
.analytics-trend-card,
.analytics-expense-card,
.analytics-products-card,
.analytics-detail-card,
.analytics-purchase-card,
.recent-table-v2,
.login-form,
.login-card,
.finance-summary,
.finance-chart-card,
.finance-list-card,
.pdv-import-card{
  background:#fff!important;
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  box-shadow:0 2px 10px rgba(20,29,39,.03)!important;
}
.field input,
.field select,
.field textarea,
.search-input,
.select-input,
.date-input,
.analytics-filter-fields input,
.analytics-filter-fields select,
.top-company-switch,
.selector-search,
.selector-search input,
.period-select{
  border-color:#dce3e8!important;
  background:#fff!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-input:focus,
.select-input:focus,
.date-input:focus,
.analytics-filter-fields input:focus,
.analytics-filter-fields select:focus,
.selector-search:focus-within,
.top-company-switch:focus-visible{
  border-color:#84bdb7!important;
  box-shadow:0 0 0 3px rgba(11,130,121,.08)!important;
}
.primary-btn,
.analytics-apply,
.selector-enter.primary,
.selector-create,
.login-submit{
  background:var(--brand)!important;
  border-color:var(--brand)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.primary-btn:hover,
.analytics-apply:hover,
.selector-enter.primary:hover,
.selector-create:hover,
.login-submit:hover{
  background:var(--brand-2)!important;
}
.secondary-btn,
.login-code{
  background:#f6fbfa!important;
  color:var(--brand-2)!important;
  border:1px solid #d7ebe7!important;
  box-shadow:none!important;
}
.ghost-btn,
.round-btn,
.top-icon-btn,
.selector-bell{
  background:#fff!important;
  border:1px solid var(--line)!important;
  box-shadow:none!important;
}

/* Login */
.login-page,
.login-shell{
  background:linear-gradient(90deg,#ffffff 0%,#ffffff 45%,#f5faf8 45%,#f5faf8 100%)!important;
}
.login-side{
  background:transparent!important;
}
.login-inner{
  max-width:560px!important;
  padding:46px 40px 34px!important;
}
.login-brand,
.side-brand,
.selector-brand{
  gap:14px!important;
}
.login-brand .brand-mark,
.side-brand .brand-mark,
.selector-brand .brand-mark{
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
.login-brand .brand-mark img,
.side-brand .brand-mark img,
.selector-brand .brand-mark img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  filter:none!important;
}
.brand-word{
  font-size:22px!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  color:#16314f!important;
}
.brand-tag{
  font-size:11px!important;
  letter-spacing:.12em!important;
  color:#497292!important;
  text-transform:uppercase!important;
}
.login-copy h1{
  font-size:58px!important;
  line-height:.98!important;
  letter-spacing:-.06em!important;
  color:#09152b!important;
  max-width:420px!important;
}
.login-copy p{
  font-size:17px!important;
  line-height:1.55!important;
  color:#67778f!important;
  max-width:420px!important;
}
.login-card,
.login-form{
  padding:28px!important;
}
.login-card h2,
.login-form h2{
  font-size:28px!important;
  font-weight:800!important;
  letter-spacing:-.04em!important;
  color:#0a1730!important;
}
.login-form-links{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
.text-link,
#forgot-password,
#login-register{
  font-size:12px!important;
  font-weight:700!important;
  color:#0b7f76!important;
}
.login-help .help-divider span,
.login-help span,
.login-footer-brand span{
  color:#7d899a!important;
}
.login-art{
  background:radial-gradient(circle at 20% 20%,rgba(11,130,121,.08),transparent 28%), linear-gradient(180deg,#f7fbfa 0%,#eef7f5 100%)!important;
}
.login-art-image{
  max-width:88%!important;
  filter:none!important;
}

/* Sidebars */
.sidebar,
.selector-sidebar{
  width:var(--sidebar)!important;
  background:linear-gradient(180deg,#0b8077 0%,#076861 58%,#045954 100%)!important;
  border-right:0!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.08), 14px 0 32px rgba(5,31,34,.06)!important;
  backdrop-filter:none!important;
  color:#fff!important;
}
.side-brand,
.selector-brand{
  padding:4px 10px 18px!important;
}
.sidebar .brand-word,
.selector-sidebar .brand-word,
.sidebar .brand-tag,
.selector-sidebar .brand-tag{
  color:#fff!important;
}
.nav{
  gap:6px!important;
}
.nav-item{
  min-height:44px!important;
  border-radius:12px!important;
  padding:0 13px!important;
  color:rgba(255,255,255,.78)!important;
  font-size:14px!important;
  font-weight:700!important;
}
.nav-item .icon{
  width:18px!important;
  height:18px!important;
}
.nav-item:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
.nav-item.active{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
}
.nav-badge{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
}
.side-footer,
.selector-user-footer{
  border-top:1px solid rgba(255,255,255,.10)!important;
}
.user-mini strong,
.selector-account strong,
.top-user-copy strong,
.top-user strong{
  color:inherit!important;
}
.user-mini span,
.selector-account span,
.top-user-copy span,
.top-user span{
  color:rgba(255,255,255,.72)!important;
}
.selector-workspace .selector-account span,
.topbar .top-user-copy span,
.topbar .top-sync-label,
.topbar .top-company-switch small,
.selector-topbar .connected-label{
  color:#73829a!important;
}
.logout,
.selector-logout{
  color:#fff!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:10px!important;
}
.logout:hover,
.selector-logout:hover{
  background:rgba(255,255,255,.12)!important;
}

/* Topbars and page headings */
.topbar,
.selector-topbar{
  height:var(--topbar)!important;
  background:#fff!important;
  border-bottom:1px solid var(--line)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.topbar{
  padding:0 24px!important;
}
.selector-topbar{
  padding:0 24px!important;
}
.top-company-switch{
  height:44px!important;
  min-width:250px!important;
  border-radius:10px!important;
}
.top-company-logo{
  width:34px!important;
  height:24px!important;
}
.top-user,
.selector-account{
  border:1px solid var(--line)!important;
  background:#fff!important;
  border-radius:12px!important;
  padding:6px 10px 6px 6px!important;
  box-shadow:none!important;
  color:#1d2940!important;
}
.top-user .avatar,
.selector-account .avatar,
.topbar .avatar{
  background:#e9f6f3!important;
  color:#0a7068!important;
}
.connected-dot,
.sync-dot{
  background:#22b573!important;
}
.page-title,
.hero-title h1,
.overview-heading h1,
.analytics-hero h1{
  color:#0a1327!important;
  letter-spacing:-.055em!important;
}
.hero-title h1,
.overview-heading h1,
.analytics-hero h1{
  font-size:40px!important;
  line-height:1.02!important;
  font-weight:850!important;
}
.hero-title p,
.overview-heading p,
.analytics-hero p,
.page-subtitle{
  color:#6c788e!important;
}
.page-kicker,
.analytics-hero .eyebrow,
.selector-eyebrow{
  color:#0b7f76!important;
  letter-spacing:.18em!important;
}

/* Selector */
.selector-page{
  grid-template-columns:var(--sidebar) minmax(0,1fr)!important;
}
.selector-content{
  padding:28px 24px 22px!important;
}
.selector-hero{
  align-items:center!important;
  margin-bottom:22px!important;
}
.selector-copy h1{
  font-size:48px!important;
  line-height:1.02!important;
  letter-spacing:-.055em!important;
  color:#0a1327!important;
}
.selector-copy h2{
  font-size:19px!important;
  line-height:1.24!important;
  color:#49566e!important;
  margin:10px 0 12px!important;
  font-weight:500!important;
}
.selector-copy p{
  color:#748197!important;
  max-width:690px!important;
}
.selector-hero-art img{
  max-width:360px!important;
}
.selector-action-row,
.selector-body{
  gap:16px!important;
}
.selector-search{
  height:52px!important;
  border-radius:12px!important;
  padding:0 16px!important;
}
.selector-search input{
  height:100%!important;
}
.selector-create{
  height:52px!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:0 18px!important;
}
.plus-circle{
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  line-height:1!important;
  flex:none!important;
}
.selector-company-grid{
  gap:16px!important;
}
.selector-company-card,
.invite-panel{
  min-height:412px!important;
}
.selector-card-top{
  min-height:108px!important;
}
.selector-company-logo{
  width:96px!important;
  height:96px!important;
  border-radius:14px!important;
  background:#fafcfc!important;
  border:1px solid #edf1f2!important;
}
.principal-badge{
  background:#edf8f5!important;
  color:#0b7b70!important;
}
.selector-company-card h3{
  font-size:18px!important;
  margin:12px 0 6px!important;
}
.selector-cnpj{
  font-size:13px!important;
  color:#818da0!important;
}
.selector-description{
  font-size:12.5px!important;
  line-height:1.45!important;
  color:#627086!important;
}
.role-pill{
  background:#edf8f5!important;
  color:#0b766d!important;
  font-size:11px!important;
}
.role-pill.admin{
  background:#eef5ff!important;
  color:#346ac9!important;
}
.selector-enter{
  height:50px!important;
  border-radius:10px!important;
  font-size:13px!important;
  gap:12px!important;
}
.invite-panel h3,
.help-title strong{
  color:#0a1730!important;
}
.invite-panel p,
.help-copy,
.selector-footer{
  color:#718097!important;
}
.selector-footer strong{
  color:#16314f!important;
}

/* Dashboard / overview */
.main{
  padding:24px!important;
}
.overview-heading,
.hero-row,
.analytics-hero{
  margin-bottom:18px!important;
}
.overview-message{
  min-height:52px!important;
  border-radius:12px!important;
  background:#eef8f5!important;
  color:#0a736a!important;
}
.overview-kpi-grid,
.analytics-kpi-grid{
  gap:14px!important;
}
.overview-kpi,
.analytics-kpi{
  min-height:122px!important;
  padding:16px!important;
}
.overview-kpi-icon,
.analytics-kpi-icon,
.dashboard-title-icon{
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
}
.overview-kpi-copy small,
.analytics-kpi-copy>span,
.dashboard-card-head p,
.compact-panel-head p{
  font-size:11px!important;
  color:#687790!important;
}
.overview-kpi-copy strong,
.analytics-kpi-copy>strong,
.kpi-value{
  font-size:22px!important;
  color:#0a1327!important;
  letter-spacing:-.04em!important;
}
.overview-kpi-foot,
.analytics-kpi-copy>small,
.kpi-foot,
.routine-card-date{
  color:#8894a4!important;
}
.dashboard-card,
.analytics-trend-card,
.analytics-expense-card,
.analytics-products-card,
.analytics-detail-card,
.analytics-purchase-card,
.pdv-import-card{
  padding:16px!important;
}
.dashboard-card-head h3,
.compact-panel-head h3,
.analytics-chart-head h3,
.analytics-card-head h3{
  font-size:17px!important;
  letter-spacing:-.03em!important;
  color:#0d1730!important;
}
.period-select,
.analytics-periods{
  border-radius:10px!important;
  box-shadow:none!important;
}
.analytics-periods button,
.tab-btn{
  border-radius:8px!important;
  font-size:11px!important;
  font-weight:700!important;
}
.analytics-periods button.active,
.tab-btn.active{
  background:#e8f6f3!important;
  color:#0b7d73!important;
  box-shadow:none!important;
}
.chart-grid-lines i,
.analytics-grid line{
  stroke:#e8edf0!important;
  background:#e8edf0!important;
}
.chart-axis,
.chart-grid text,
.analytics-grid text,
.analytics-xlabels text,
.chart-month>strong,
.chart-legend,
.analytics-legend{
  color:#7c889c!important;
  fill:#7c889c!important;
}
.revenue-bar{background:#17a48a!important}
.expense-bar{background:#d7e2e2!important}
.analytics-line.revenue{stroke:#15a287!important}
.analytics-line.expense{stroke:#e96873!important}
.analytics-dot.revenue{fill:#15a287!important}
.analytics-dot.expense{fill:#e96873!important}
.analytics-hbar-track,
.analytics-product-track,
.routine-bar,
.routine-progress,
.routine-progress-v2 .routine-bar,
.progress-track,
.progress-bar-bg{
  background:#eef2f3!important;
}
.analytics-hbar-track i{background:#e66771!important}
.analytics-product-track i,
.routine-bar span,
.routine-progress span,
.routine-progress-v2 .routine-bar span,
.progress-bar-fill{
  background:#12a087!important;
}

/* Tables and lists */
.table-head,
.analytics-table thead,
.recent-head,
.data-table th{
  background:#f8fafb!important;
}
.table-head{
  padding:16px 18px!important;
}
.data-table th,
.analytics-table th,
.recent-head,
.finance-table thead th{
  color:#6d7a8e!important;
  font-size:9.5px!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
}
.data-table td,
.analytics-table td,
.recent-row,
.finance-table td{
  color:#4d5b6f!important;
  font-size:10.5px!important;
}
.data-table td,
.analytics-table td{
  padding-top:11px!important;
  padding-bottom:11px!important;
}
.data-table tbody tr:hover,
.analytics-table tbody tr:hover,
.recent-row:hover,
.stock-row-v2:hover,
.product-card:hover{
  background:#fafcfc!important;
}
.td-main strong,
.recent-row>strong,
.analytics-product-copy strong,
.stock-row-v2 strong,
.product-copy strong{
  color:#16233b!important;
}
.td-main span,
.analytics-product-copy small,
.stock-row-v2 small,
.product-copy .meta,
.recent-row small{
  color:#8090a3!important;
}
.status-pill,
.type-pill,
.category-chip{
  border-radius:999px!important;
}
.money,
.analytics-table .money,
.recent-row>b,
.stock-row-v2>b{
  color:#17314f!important;
}

/* Finance / stock / routine */
.stock-row-icon,
.list-icon,
.empty-icon,
.dashboard-title-icon,
.invite-icon,
.help-title .icon,
.recent-icon,
.top-menu{
  background:#ebf6f3!important;
  color:#0a736a!important;
  border-radius:12px!important;
}
.stock-row-icon.product-thumb,
.stock-product-thumb{
  background:#fff!important;
  border:1px solid #eef2f3!important;
}
.stock-row-v2{
  min-height:42px!important;
}
.stock-row-v2>b{
  font-size:10px!important;
}
.routine-task-v2,
.task{
  color:#627188!important;
}
.routine-task-v2 .check,
.check{
  border-color:#cfd7de!important;
}
.routine-task-v2.done .check,
.task.done .check{
  background:#0ea184!important;
  border-color:#0ea184!important;
}

/* Mobile */
@media (max-width: 980px){
  .login-page,
  .login-shell{background:#fff!important}
  .login-inner{padding:28px 18px 20px!important}
  .login-copy h1{font-size:40px!important}
  .selector-page{display:block!important}
  .selector-sidebar,
  .sidebar{width:min(84vw,260px)!important}
  .main{padding:18px 14px 92px!important}
  .selector-content{padding:20px 14px 18px!important}
  .topbar,
  .selector-topbar{padding:0 14px!important}
  .overview-heading h1,
  .analytics-hero h1,
  .hero-title h1,
  .selector-copy h1{font-size:32px!important}
  .selector-copy h2{font-size:17px!important}
  .selector-company-grid{grid-template-columns:1fr!important}
  .overview-kpi-grid,
  .analytics-kpi-grid{grid-template-columns:1fr!important}
}

/* =====================================================================
   P24 v41 — UX editorial / executive dashboard
   Menos "dados jogados", mais hierarquia, contexto e ação.
   ===================================================================== */
.overview-v41{max-width:1480px}
.overview-heading.v41{align-items:center!important;margin-bottom:18px!important}
.overview-heading.v41 h1{font-size:42px!important;max-width:760px;margin:4px 0 6px!important}
.overview-kicker{font-size:9px;letter-spacing:.18em;font-weight:850;color:#0b8379;margin-bottom:6px}
.overview-date-chip{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border:1px solid #e1e7eb;border-radius:10px;background:#fff;color:#69778c;font-size:10px;white-space:nowrap}
.overview-date-chip .icon{width:15px;height:15px;color:#0b8279}
.overview-executive-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(330px,.8fr);gap:14px;margin-bottom:14px}
.overview-executive-card,.overview-attention-card{border:1px solid #e2e8ec;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(21,31,41,.035)}
.overview-executive-card{position:relative;display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.5fr);gap:20px;padding:22px 22px 18px;overflow:hidden}
.overview-executive-card:before{content:"";position:absolute;width:240px;height:240px;right:-100px;top:-125px;border-radius:50%;background:radial-gradient(circle,#dff5ef 0%,rgba(223,245,239,0) 70%);pointer-events:none}
.executive-card-copy{position:relative;z-index:1}
.executive-kicker{display:block;font-size:9px;letter-spacing:.15em;font-weight:850;color:#718096;margin-bottom:8px}
.executive-card-copy h2{margin:0;font-size:34px;line-height:1;letter-spacing:-.055em;color:#09152b}
.executive-card-copy p{margin:6px 0 9px;color:#7d899b;font-size:11px}
.executive-trend{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:9.5px;font-weight:800;background:#f5f8f8;color:#68778b}
.executive-trend.good{background:#edf8f4;color:#0b8b67}.executive-trend.bad{background:#fff0f1;color:#d64e5b}
.executive-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;align-self:center;border:1px solid #e7ecef;border-radius:13px;overflow:hidden;background:#e7ecef;position:relative;z-index:1}
.executive-metrics>div{background:#fbfcfd;padding:14px 14px 13px;min-width:0}
.executive-metrics span{display:block;font-size:9px;color:#7d8899;margin-bottom:6px}
.executive-metrics strong{display:block;font-size:17px;letter-spacing:-.035em;color:#15233b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.executive-metrics strong.positive{color:#0b8870}.executive-metrics strong.negative{color:#d54d59}
.executive-link{position:absolute;right:22px;bottom:8px;border:0;background:transparent;color:#0b7e75;font-size:10px;font-weight:800;display:flex;align-items:center;gap:5px;z-index:2}
.executive-link .icon{width:14px;height:14px}
.overview-attention-card{padding:18px}
.attention-head{display:flex;align-items:center;gap:11px;margin-bottom:10px}
.attention-icon{width:38px;height:38px;border-radius:12px;background:#eaf6f3;color:#0a7c72;display:grid;place-items:center;flex:none}
.attention-icon .icon{width:18px;height:18px}
.attention-head strong{display:block;font-size:14px;color:#101c32;letter-spacing:-.02em}
.attention-head small{display:block;font-size:9px;color:#8691a2;margin-top:2px}
.attention-list{display:grid}
.attention-list button{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:9px;min-height:58px;border:0;border-top:1px solid #eef1f3;background:transparent;text-align:left;padding:8px 0;color:#536176}
.attention-list button>span:first-child{width:32px;height:32px;border-radius:10px;background:#f4f7f8;color:#60758e;display:grid;place-items:center}
.attention-list button>span:first-child .icon{width:15px;height:15px}
.attention-list button>div strong{display:block;font-size:10.5px;color:#1d2b42}
.attention-list button>div small{display:block;font-size:9px;color:#8b96a7;margin-top:2px}
.attention-list button>.icon{width:14px;height:14px;color:#91a0b0}
.attention-list button:hover{background:#fbfdfd}
.overview-quick-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}
.overview-quick-strip button{border:1px solid #e2e8ec;border-radius:12px;background:#fff;text-align:left;padding:12px 14px;box-shadow:0 2px 8px rgba(20,29,39,.025)}
.overview-quick-strip span{display:block;font-size:9px;color:#7f899a;margin-bottom:5px}
.overview-quick-strip strong{display:block;font-size:16px;letter-spacing:-.03em;color:#15233b}
.overview-quick-strip small{display:block;font-size:8.5px;color:#8995a6;margin-top:4px}
.overview-quick-strip small.good{color:#0c956d}.overview-quick-strip small.bad{color:#d84f5b}
.overview-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:4px 0 10px}
.overview-section-head span{display:block;font-size:8.5px;letter-spacing:.16em;font-weight:850;color:#8792a2;margin-bottom:3px}
.overview-section-head h3{margin:0;color:#152138;font-size:16px;letter-spacing:-.025em}
.overview-section-head button{border:0;background:transparent;color:#0b7f75;font-size:10px;font-weight:800;display:flex;align-items:center;gap:4px}
.overview-section-head button .icon{width:14px;height:14px}
.overview-main-row.v41{grid-template-columns:minmax(0,2.3fr) minmax(275px,.7fr)!important}
.compact-import{min-height:0!important}
.compact-import .dashboard-card-head{margin-bottom:10px}
.compact-import .pdv-dropzone{min-height:128px!important;padding:16px!important;border-radius:12px!important}
.compact-import .pdv-dropzone>.icon{width:25px!important;height:25px!important}
.compact-import .pdv-dropzone strong{font-size:10.5px!important}
.compact-import .pdv-dropzone span,.compact-import .accepted-formats{font-size:8.5px!important}

/* Analytics becomes a guided dashboard. DRE lives only in its own tab. */
.analytics-executive-strip{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:0;border:1px solid #e2e8ec;border-radius:14px;background:#fff;overflow:hidden;margin-bottom:14px}
.analytics-executive-strip>div{padding:14px 16px;border-right:1px solid #edf1f3;min-width:0}
.analytics-executive-strip span{display:block;font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;color:#8b96a6;font-weight:800;margin-bottom:5px}
.analytics-executive-strip strong{display:block;color:#16243b;font-size:13px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.analytics-executive-strip small{display:block;color:#7e8a9d;font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.analytics-executive-strip>button{border:0;background:#eef8f5;color:#08786f;padding:0 18px;font-size:10px;font-weight:850;display:flex;align-items:center;gap:5px;white-space:nowrap}
.analytics-executive-strip>button .icon{width:14px;height:14px}
.analytics-mode-switch{border-color:#dde4e8!important;background:#fff!important;box-shadow:none!important}
.analytics-mode-btn{font-size:10.5px!important}
.analytics-mode-btn.active{background:#0b8279!important;box-shadow:none!important}
.analytics-purchase-card{min-height:0!important}
.analytics-purchase-card .purchase-empty{min-height:86px!important;padding:18px!important}
.analytics-purchase-card .purchase-explain{max-width:900px}
.analytics-products-card,.analytics-detail-card{min-height:330px!important}
.analytics-detail-card .analytics-table-wrap{max-height:285px!important}
.analytics-dre-only{overflow:hidden}
.dre-card-head p{max-width:650px!important}
.dre-table-wrap{max-width:100%;overflow:auto}

/* Company selector: less empty canvas, more intentional composition */
.selector-content{max-width:1240px;margin:0 auto!important;padding-top:24px!important}
.selector-hero{grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr)!important;min-height:150px!important;margin-bottom:18px!important}
.selector-copy h1{font-size:43px!important}
.selector-copy h2{font-size:17px!important;margin:7px 0 8px!important}
.selector-copy p{font-size:12px!important}
.selector-hero-art{display:flex;align-items:center;justify-content:flex-end}
.selector-hero-art img{max-width:300px!important}
.selector-action-row{grid-template-columns:minmax(0,1fr) 250px!important;margin-bottom:14px!important}
.selector-body{grid-template-columns:minmax(0,1fr) 310px!important;align-items:start}
.selector-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.selector-company-card{min-height:280px!important;padding:16px!important}
.selector-company-card.principal{padding:15px!important}
.selector-card-top{min-height:76px!important}
.selector-company-logo{width:72px!important;height:72px!important}
.selector-company-card h3{font-size:17px!important;margin:10px 0 4px!important}
.selector-cnpj{font-size:11px!important;margin-bottom:9px!important}
.role-pill{padding:5px 9px!important;font-size:10px!important}
.selector-card-divider{margin:10px 0!important}
.selector-description{font-size:11px!important;margin-bottom:12px!important}
.selector-enter{height:44px!important;font-size:11px!important}
.invite-panel{min-height:280px!important;padding:18px!important}
.invite-panel h3{font-size:17px!important}
.invite-panel p{font-size:11px!important}

/* Finish the general editorial hierarchy */
.panel-link{font-size:9.5px!important}
.empty{padding:28px 18px!important;font-size:10.5px!important}
.analytics-empty{font-size:10.5px!important}
.product-card{box-shadow:none!important}
.product-card:hover{transform:none!important;border-color:#cfdcde!important}

@media(max-width:1180px){
  .overview-executive-grid{grid-template-columns:1fr}
  .overview-quick-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .analytics-executive-strip{grid-template-columns:1fr 1fr}
  .analytics-executive-strip>button{min-height:48px;justify-content:center}
  .selector-company-grid{grid-template-columns:1fr!important}
}
@media(max-width:780px){
  .overview-executive-card{grid-template-columns:1fr;padding-bottom:34px}
  .executive-metrics{grid-template-columns:1fr}
  .overview-quick-strip{grid-template-columns:1fr 1fr}
  .overview-date-chip{display:none}
  .overview-heading.v41 h1{font-size:32px!important}
  .analytics-executive-strip{grid-template-columns:1fr}
  .analytics-executive-strip>div{border-right:0;border-bottom:1px solid #edf1f3}
  .selector-hero{grid-template-columns:1fr!important}
  .selector-hero-art{display:none!important}
  .selector-action-row,.selector-body{grid-template-columns:1fr!important}
}

/* P26 · Consumo interno da equipe */
.nx78-consumption-callout{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.nx78-consumption-callout>div{display:flex;align-items:center;gap:11px;min-width:0}.nx78-consumption-callout>div>span,.nx78-consumption-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--brand-soft,#e5f4ef);color:var(--brand,#16785f);flex:0 0 auto}.nx78-consumption-callout strong{display:block;color:var(--text);font-size:13px}.nx78-consumption-callout small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.nx78-consumption-modal .nx75-modal-card{width:min(960px,94vw);max-height:92vh;overflow:auto}.nx78-consumption-head{display:flex;gap:12px;align-items:center;padding-right:44px}.nx78-consumption-head small{font-size:10px;font-weight:800;color:var(--muted);letter-spacing:.08em}.nx78-consumption-head h2{margin:2px 0 3px;font-size:23px;color:var(--text)}.nx78-consumption-head p{margin:0;color:var(--muted);font-size:12px}.nx78-consumption-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.7fr);gap:18px;margin-top:18px}.nx78-consumption-grid section,.nx78-consumption-grid aside{min-width:0}.nx78-field{display:grid;gap:6px;margin-bottom:10px}.nx78-field span{font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.nx78-field input,.nx78-field select,.nx78-consumption-row input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);padding:10px 11px;outline:none}.nx78-consumption-list{display:grid;gap:7px;max-height:430px;overflow:auto;padding-right:3px}.nx78-consumption-row{display:grid;grid-template-columns:44px minmax(0,1fr) 130px;gap:10px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2)}.nx78-consumption-row>span strong{display:block;color:var(--text);font-size:12px}.nx78-consumption-row>span small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.nx78-consumption-row label{display:grid;gap:3px}.nx78-consumption-row label em{font-style:normal;font-size:9px;font-weight:800;color:var(--muted);text-transform:uppercase}.nx78-consumption-row input{padding:8px 9px}.nx78-consumption-grid aside{border-left:1px solid var(--line);padding-left:16px}.nx78-consumption-grid aside h3{margin:0 0 10px;color:var(--text);font-size:13px}.nx78-consumption-history{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.nx78-consumption-history>span{width:30px;height:30px;border-radius:10px;background:var(--surface-2);display:grid;place-items:center;color:var(--brand,#16785f);flex:0 0 auto}.nx78-consumption-history strong{display:block;color:var(--text);font-size:11px}.nx78-consumption-history small,.nx78-consumption-empty{color:var(--muted);font-size:10px}.nx78-consumption-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:760px){.nx78-consumption-callout{align-items:stretch;flex-direction:column}.nx78-consumption-grid{grid-template-columns:1fr}.nx78-consumption-grid aside{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:14px}.nx78-consumption-row{grid-template-columns:40px minmax(0,1fr) 105px}.nx78-consumption-modal .nx75-modal-card{width:96vw}}

/* ===== Seletor de empresas — atualização visual P34.4 ===== */
.nx42-selector-page:not(.nx42-account-page){min-height:100svh;display:flex;background:#fbfcfb;color:#06183b}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-rail{position:fixed;left:0;top:0;bottom:0;width:92px;padding:18px 18px 20px;border-right:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#03534f 0%,#013a39 100%);box-shadow:8px 0 28px rgba(1,58,57,.18);display:flex;flex-direction:column;align-items:center;z-index:25}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-logo{width:66px;height:66px;border-radius:18px;background:linear-gradient(180deg,rgba(9,110,104,.96),rgba(3,67,66,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 14px 32px rgba(0,0,0,.18);display:grid;place-items:center;padding:10px;margin:6px 0 0}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-logo img{width:100%;height:100%;object-fit:contain}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-spacer{flex:1}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-profile,.nx42-selector-page:not(.nx42-account-page) .nx42-rail-logout{width:58px;height:58px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.08);display:grid;place-items:center;color:#fff;padding:0;overflow:hidden}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-profile{margin-bottom:12px;background:rgba(255,255,255,.07)}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-profile .avatar{width:44px;height:44px;border-radius:50%;background:#f4f8f7;color:#0a6f68;font-size:17px;font-weight:800}
.nx42-selector-page:not(.nx42-account-page) .nx42-rail-logout .icon{width:24px;height:24px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-workspace{margin-left:92px;min-height:100svh;display:flex;flex-direction:column;flex:1;background:#fbfbfa url('/assets/selector-bg.png') right top/cover no-repeat}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-top{height:92px;padding:0 56px 0 42px;border-bottom:1px solid #e7ecef;background:rgba(255,255,255,.56);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:space-between}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark{display:flex;align-items:center;gap:16px;color:#09183d}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark-mark{width:52px;height:52px;object-fit:contain}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark-text{height:28px;width:auto;display:block}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark i{width:1px;height:28px;background:#dfe5ea;border-radius:1px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark small{font-size:12px;letter-spacing:.34em;font-weight:800;color:#22345d}
.nx42-selector-page:not(.nx42-account-page) .nx42-top-status{display:flex;align-items:center;gap:22px}
.nx42-selector-page:not(.nx42-account-page) .nx42-sync-chip{min-height:60px;padding:10px 20px;border-radius:18px;border:1px solid #cde5dd;background:rgba(234,247,242,.84);color:#0d755f;display:flex;align-items:center;gap:14px;box-shadow:0 8px 20px rgba(6,76,68,.05)}
.nx42-selector-page:not(.nx42-account-page) .nx42-sync-chip>i{width:18px;height:18px;border-radius:50%;background:#1fb162;box-shadow:0 0 0 6px rgba(31,177,98,.12)}
.nx42-selector-page:not(.nx42-account-page) .nx42-sync-chip strong{display:block;font-size:15px;line-height:1.1}
.nx42-selector-page:not(.nx42-account-page) .nx42-sync-chip small{display:block;font-size:13px;color:#4b7d73;margin-top:3px}
.nx42-selector-page:not(.nx42-account-page) .nx42-icon-btn{width:58px;height:58px;border-radius:18px;border:1px solid #dce4ea;background:rgba(255,255,255,.94);color:#0d183c;box-shadow:0 8px 18px rgba(8,26,60,.04)}
.nx42-selector-page:not(.nx42-account-page) .nx42-icon-btn svg{width:24px;height:24px}
.nx42-selector-page:not(.nx42-account-page) .nx42-icon-btn b{right:10px;top:10px;min-width:10px;width:10px;height:10px;border-radius:50%;font-size:0;background:#ff3131;box-shadow:0 0 0 3px #fff;padding:0}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-content{display:grid;grid-template-columns:minmax(0,1fr) 530px;gap:30px;padding:40px 56px 22px 42px;flex:1}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-main{min-width:0}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy>span{display:block;font-size:17px;font-weight:800;letter-spacing:.18em;color:#08785f;margin-bottom:8px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h1{font-size:76px;line-height:.94;letter-spacing:-.065em;color:#071748;margin:0 0 10px;font-weight:900;max-width:880px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h1 em{font-style:normal;color:#0d8b67}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h2{font-size:35px;line-height:1.16;font-weight:500;letter-spacing:-.04em;color:#56688a;margin:0 0 16px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy p{font-size:18px;line-height:1.45;color:#7c8ba3;margin:0;max-width:920px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-controls{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:end;margin:34px 0 34px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-controls>label{height:62px;border:1px solid #d9e2ea;border-radius:16px;background:rgba(255,255,255,.9);display:flex;align-items:center;gap:14px;padding:0 18px;box-shadow:0 8px 20px rgba(7,23,72,.03)}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-controls>label .icon{width:26px;height:26px;color:#071748}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-controls input{border:0;outline:0;background:transparent;width:100%;font-size:16px;color:#40516d}
.nx42-selector-page:not(.nx42-account-page) .nx42-sort{display:grid;gap:8px;color:#687b98;font-size:16px;padding-left:28px;border-left:1px solid #dfe5eb}
.nx42-selector-page:not(.nx42-account-page) .nx42-sort span{font-weight:500}
.nx42-selector-page:not(.nx42-account-page) .nx42-sort select{height:56px;border-radius:16px;border:1px solid #d9e2ea;background:#fff;color:#172a50;padding:0 18px;font-size:16px;outline:0}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-section h3{font-size:26px;letter-spacing:-.04em;color:#091742;margin:0 0 16px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,300px));gap:18px;align-items:stretch}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-card{position:relative;width:300px;min-height:292px;border:1px solid #e4eaee;border-radius:26px;background:#fff;padding:22px 22px 18px;text-align:left;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;gap:12px 10px;box-shadow:0 10px 24px rgba(7,23,72,.045);color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-card:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(7,23,72,.08);border-color:#cfe1db}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-menu{grid-column:2;grid-row:1;align-self:start;justify-self:end;color:#0a103f;display:grid;place-items:center}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-menu .icon{width:22px;height:22px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-logo{grid-column:1;grid-row:1;width:106px;height:106px;border:1px solid #edf1f3;border-radius:18px;object-fit:contain;background:#fafbfb;padding:6px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-copy{grid-column:1 / -1;display:flex;flex-direction:column;align-self:start;min-width:0}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-copy>strong{font-size:26px;line-height:1.08;letter-spacing:-.045em;color:#081741;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-copy>small{font-size:14px;line-height:1.3;color:#8794ab;margin-top:8px}
.nx42-selector-page:not(.nx42-account-page) .nx42-role{display:inline-flex;align-items:center;gap:8px;width:max-content;margin-top:16px;padding:7px 14px;border-radius:999px;background:#e9f8f1;color:#0a7a60;font-size:14px;font-style:normal;font-weight:800}
.nx42-selector-page:not(.nx42-account-page) .nx42-role .icon{width:18px;height:18px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-action{grid-column:1 / -1;display:flex;align-items:center;gap:14px;padding-top:16px;border-top:1px solid #edf1f4;align-self:end}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-action strong{font-size:14px;color:#0a755b;font-weight:800}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-go{width:50px;height:50px;border-radius:50%;background:#e7f7ee;color:#0a755b;display:grid;place-items:center;flex:none;font-style:normal}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-go .icon{width:24px;height:24px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-add{background:#fbfefc url('/assets/selector-card-bg.png') center/cover no-repeat;border-style:dashed;border-color:#bfe6d8;align-content:end}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-add .nx42-company-copy{margin-top:auto}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-add-icon{width:84px;height:84px;border-radius:22px;background:rgba(206,247,228,.94);display:grid;place-items:center;color:#0a7a60;margin-bottom:2px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-add-icon .icon{width:42px;height:42px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-add-copy>strong{white-space:normal;font-size:25px}
.nx42-selector-page:not(.nx42-account-page) .nx42-company-add-copy>small{font-size:15px;max-width:220px;line-height:1.35}
.nx42-selector-page:not(.nx42-account-page) .nx42-empty-note{margin-top:16px;color:#7f8ea4;font-size:14px}
.nx42-selector-page:not(.nx42-account-page) .nx42-pending{margin-top:20px;display:grid;gap:8px;color:#6d7d96;font-size:14px}
.nx42-selector-page:not(.nx42-account-page) .nx42-pending strong{color:#091742;font-size:15px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-tools{display:grid;grid-template-rows:auto auto 1fr;gap:20px}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-card,.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo{position:relative;border:1px solid #e5ebef;border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 10px 24px rgba(8,26,60,.04);overflow:hidden}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-card{padding:22px 24px 22px;min-height:170px;display:grid;grid-template-columns:78px 1fr 28px;gap:16px;align-items:start}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-card:before{content:"";position:absolute;left:0;right:0;bottom:0;height:52%;background:radial-gradient(circle at 10% 100%,rgba(213,245,235,.85),transparent 42%),radial-gradient(circle at 92% 100%,rgba(234,247,242,.92),transparent 45%)}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-card>*{position:relative;z-index:1}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-icon{width:66px;height:66px;border-radius:18px;background:#e9f7f0;color:#0a7b61;display:grid;place-items:center}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-icon .icon{width:34px;height:34px}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-copy{display:flex;flex-direction:column}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-copy strong{font-size:22px;line-height:1.08;letter-spacing:-.04em;color:#091742}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-copy small{margin-top:10px;font-size:15px;line-height:1.35;color:#687b98}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-copy em{margin-top:16px;font-style:normal;color:#0a7b60;font-size:14px;font-weight:800}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-card>b{align-self:center;justify-self:end;color:#091742;display:grid;place-items:center}
.nx42-selector-page:not(.nx42-account-page) .nx42-tool-card>b .icon{width:28px;height:28px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo{min-height:260px;padding:24px 24px 0;display:flex;flex-direction:column;justify-content:space-between}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 100%,rgba(222,235,206,.45),transparent 36%),radial-gradient(circle at 88% 82%,rgba(214,245,228,.36),transparent 28%)}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo-copy{position:relative;z-index:1;max-width:260px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo-copy strong{display:block;font-size:29px;line-height:1.1;letter-spacing:-.045em;color:#2f4b86;font-weight:500}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo-copy i{display:block;width:56px;height:4px;border-radius:4px;background:#18b37c;margin-top:16px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo-art{position:relative;z-index:1;min-height:148px;background:url('/assets/selector-promo.png') right bottom/contain no-repeat;margin-top:18px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 56px 16px 42px;color:#8d98ab;font-size:14px}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer-brand{display:flex;align-items:center;gap:18px;min-width:0}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer-brand img{height:25px;width:auto;display:block}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer-brand i{width:1px;height:28px;background:#dfe5ea;flex:none}
.nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer-brand small{font-size:14px;color:#8090a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:1540px){
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-content{grid-template-columns:minmax(0,1fr) 460px;padding-right:34px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h1{font-size:64px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h2{font-size:31px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-company-grid{grid-template-columns:repeat(auto-fit,minmax(270px,270px))}
  .nx42-selector-page:not(.nx42-account-page) .nx42-company-card{width:270px;min-height:276px}
}
@media(max-width:1280px){
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-content{grid-template-columns:1fr;gap:22px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-tools{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo{grid-column:1/-1}
}
@media(max-width:980px){
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-rail{width:74px;padding:14px 10px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-workspace{margin-left:74px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-top{padding:0 18px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark small,.nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark i{display:none}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-content{padding:26px 18px 20px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h1{font-size:48px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h2{font-size:25px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-controls{grid-template-columns:1fr;gap:14px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-sort{padding-left:0;border-left:0}
  .nx42-selector-page:not(.nx42-account-page) .nx42-company-grid{grid-template-columns:repeat(auto-fit,minmax(250px,250px))}
  .nx42-selector-page:not(.nx42-account-page) .nx42-company-card{width:250px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer{padding:14px 18px;gap:12px;flex-direction:column;align-items:flex-start}
}
@media(max-width:640px){
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-top{height:auto;gap:14px;align-items:flex-start;flex-direction:column;padding:18px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-top-status{width:100%;justify-content:space-between}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-wordmark-text{height:24px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy>span{font-size:12px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h1{font-size:38px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy h2{font-size:21px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-copy p{font-size:15px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-tools,.nx42-selector-page:not(.nx42-account-page) .nx42-company-grid{grid-template-columns:1fr}
  .nx42-selector-page:not(.nx42-account-page) .nx42-company-card{width:100%}
  .nx42-selector-page:not(.nx42-account-page) .nx42-tool-card{grid-template-columns:66px 1fr 24px;padding:18px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-tool-copy strong{font-size:20px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-promo-copy strong{font-size:24px}
  .nx42-selector-page:not(.nx42-account-page) .nx42-selector-footer-brand small{white-space:normal}
}
