/* Portal-wide visual layer. Business logic and component markup stay intact. */
body.nex-experience{--bg:#f3f7fc;--panel:#fff;--panel2:#f4f8fc;--line:#d7e2ef;--text:#183b60;--muted:#526b84;--accent:#235e98;--accent2:#cce6ff;--navy:#183b60;--sand:#f3f7fc;--ink:#183b60;background:#f3f7fc;background-image:none}
body.nex-experience #appHeader{background:#ffffffed;border-color:#d7e2ef;backdrop-filter:blur(18px);box-shadow:0 2px 16px #183b6004}
body.nex-experience #globalSidebar{background:linear-gradient(180deg,#102e50,#143c65);border-right:1px solid #2e5148;box-shadow:6px 0 32px #102e5016}
body.nex-experience #globalSidebar .global-nav-item.active{background:#cce6ff;color:#14385e;border-radius:10px}
body.nex-experience #globalSidebar .global-nav-item:hover{background:#ffffff16}
body.nex-experience #globalSidebar .global-nav-item.active:hover{background:#e1f0ff}
.nex-dashboard-nav-icon{width:25px;height:25px;display:block;border-radius:7px}.nex-dashboard-tile-icon{width:64px;height:64px;display:block}
.nex-view{--nx-surface:#fff;--nx-line:#d7e2ef;--nx-soft:#f3f7fc;--nx-ink:#183b60;--nx-muted:#526b84}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard){position:relative;isolation:isolate;background:#102e50!important;color:#f3f8ff;border:1px solid #244b4f;border-radius:23px;padding:32px!important;box-shadow:0 16px 35px #102e500a;overflow:hidden;align-items:center;min-height:185px}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard):before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 95% 10%,#8ec89518,transparent 60%);pointer-events:none}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) h1{color:#f3f8ff!important;font-size:clamp(25px,3.1vw,42px);font-weight:550;letter-spacing:-1.3px;line-height:1.16}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) :is(p,.muted,.home-status-line){color:#c3d8ee!important;line-height:1.7}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) :is(.eyebrow,.copilot-badge,.uni-badge,.nai-badge){color:#cce6ff!important;font-size:10px;letter-spacing:1.3px}
.nex-view .nex-brand-watermark{position:absolute;right:20px;top:18px;width:110px;height:110px;border-radius:26px;opacity:.13;transform:rotate(-12deg);z-index:-1;pointer-events:none;object-fit:contain}
.nex-view .consultor-identity{width:100%;background:transparent!important;border:0!important;box-shadow:none!important}
.nex-view :is(.op-section,.op-kpi,.homecard,.consultor-section,.uni-card,.copilot-card,.nai-panel,.card,.nexus-alerts-home,.nexus-feature-card){background:var(--nx-surface)!important;border-color:var(--nx-line)!important;border-radius:17px;box-shadow:0 6px 24px #15372b04;color:var(--nx-ink)}
.nex-view :is(.op-kpi,.homecard){position:relative;overflow:hidden}
.nex-view .op-kpi:before{content:"";position:absolute;left:20px;top:0;width:28px;height:3px;background:#4488c7;border-radius:0 0 3px 3px}
.nex-view :is(.op-kpi .num,.homecard h3,.op-section h2,.consultor-section h2){color:var(--nx-ink)!important;letter-spacing:-.5px}
.nex-view .homecards{gap:18px}.nex-view .homecard{padding:24px;min-height:168px;border:1px solid var(--nx-line);transition:border-color .2s,box-shadow .2s,transform .2s}
.nex-view .homecard .tile-icon{box-shadow:none!important;border:0;background:#edf4fc!important;color:#24634b;border-radius:18px}
.nex-view .homecard.nex-dashboard-card{background:#174775!important;border-color:#174775!important;color:white}
.nex-view .homecard.nex-dashboard-card h3{color:#f3f8ff!important}.nex-view .homecard.nex-dashboard-card p{color:#c9def2!important}
.nex-view .homecard.nex-dashboard-card .tile-icon{background:transparent!important}
.nex-view .homecard .tile-arrow{background:#e7f0fc;color:#315879}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) button:not(.ghost):not(.secondary){background:#cce6ff;color:#14385e;border-color:#cce6ff}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) button.secondary{background:#ffffff0c;border-color:#7692ae;color:#e4efff}
.nex-view :is(input,select,textarea){border-color:var(--nx-line);border-radius:10px;background:var(--nx-surface);color:var(--nx-ink)}
.nex-view :is(input,select,textarea):focus{outline:2px solid #82a9d0;outline-offset:2px}
.nex-view table th{background:var(--nx-soft);color:var(--nx-muted)}.nex-view table td{border-color:var(--nx-line)}
.nex-view :is(.production-ticker,.home-production-ticker){background:#e7f0fc;border-color:#d1e1d4;color:#315879;border-radius:12px}
.nex-view :is(.pr-result,.priority){background:var(--nx-soft);border-color:var(--nx-line);border-radius:13px}
.nex-motion-toggle{margin-left:auto;padding:8px 12px!important;background:transparent!important;border:1px solid #c6d7e9!important;color:#315879!important;border-radius:9px;font-size:10px!important;white-space:nowrap;min-height:36px}
.nex-view.nex-motion-enabled [data-nex-reveal]{transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.nex-view.nex-motion-enabled [data-nex-reveal]:not(.sc-in){opacity:1;transform:translateY(9px)}
.nex-view [data-nex-reveal]:focus-within{opacity:1!important;transform:none!important}
body.nex-motion-paused .production-ticker-track{animation-play-state:paused!important}
@media(hover:hover) and (pointer:fine){.nex-view .homecard:hover{transform:translateY(-4px);border-color:#82a9d0!important;box-shadow:0 14px 30px #15372b0d}.nex-view .op-kpi:hover{border-color:#82a9d0!important}}
body.nex-experience.dark-mode{--bg:#0d2027;--panel:#173039;--panel2:#1b363e;--line:#35524e;--text:#e7f0fc;--muted:#acc2b6;--navy:#deefe2;--sand:#0d2027;--ink:#e7f0fc;background:#0d2027;color:#e7f0fc}
body.nex-experience.dark-mode .nex-view{--nx-surface:#173039;--nx-line:#35524e;--nx-soft:#1b363e;--nx-ink:#e7f0fc;--nx-muted:#acc2b6}
body.nex-experience.dark-mode #appHeader{background:#102a30ed;border-color:#35524e;color:#e7f0fc}
body.nex-experience.dark-mode .nex-motion-toggle{color:#c3d8ee!important;border-color:#7692ae!important}
@media(max-width:760px){.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard){padding:24px 20px!important;border-radius:18px;min-height:160px}.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero) h1{font-size:28px}.nex-view .nex-brand-watermark{width:85px;height:85px}.nex-motion-toggle{font-size:9px!important;padding:6px 8px!important}.nex-view .homecard{min-height:145px;padding:20px}}
@media(prefers-reduced-motion:reduce){.nex-view *,.nex-view *:before,.nex-view *:after{animation:none!important;transition:none!important}.nex-view [data-nex-reveal]{opacity:1!important;transform:none!important}}
@media print{.nex-view [data-nex-reveal]{opacity:1!important;transform:none!important}.nex-motion-toggle{display:none!important}}
/* Blue palette and explicit foreground/background pairs. */
body.nex-experience{--accent:#235e98;--accent2:#8bbce8;--good:#24714b;--danger:#ad3041}
body.nex-experience #globalSidebar{background:linear-gradient(165deg,#102d4c 0%,#1c4b78 100%)}
body.nex-experience #globalSidebar .global-nav-item.active{background:#dcecff!important;color:#163b63!important}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard){background:linear-gradient(115deg,#102d4c 0%,#1d5182 100%)!important}
.nex-view .homecard.nex-dashboard-card{background:linear-gradient(135deg,#174572,#286399)!important;border-color:#265b8b!important}
.nex-view .homecard.nex-dashboard-card :is(h3,p){color:#fff!important}
.nex-view :is(.copilot-badge,.uni-badge,.nai-badge){background:#eaf2fb;color:#244b72}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) :is(.copilot-badge,.uni-badge,.nai-badge){background:#193d61!important;color:#dfedfc!important}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard):before{background:radial-gradient(ellipse at 95% 10%,#89b7ed18,transparent 60%)}
.nex-view .production-ticker{background:#e9f1fa!important;color:#294e72!important;border-color:#d6e2ef!important}
.nex-view .homecard .tile-head{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;padding-right:0;align-items:center}.nex-view .homecard .tile-copy{display:contents}.nex-view .homecard .tile-icon{grid-column:1;grid-row:1;width:64px;height:64px}.nex-view .homecard .tile-copy h3{grid-column:2;grid-row:1;font-size:17px}.nex-view .homecard .tile-copy p{grid-column:1/-1;margin:0;padding-right:23px;font-size:12px;line-height:1.6}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) button:not(.ghost):not(.secondary){background:#cce6ff!important;color:#14385e!important;border-color:#cce6ff!important}.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) button.secondary{background:#ffffff0c!important;border-color:#7692ae!important;color:#e4efff!important}
.nex-view :is(.op-hero,.nai-hero,.copilot-hero,.uni-hero,.consultor-hero,.consultor-dashboard) button.ghost{background:transparent!important;border:1px solid #7692ae!important;color:#e4efff!important}

/* NEX 360 — etapa final executiva */
#workspace .step[data-step="10"]{max-width:980px;margin:0 auto}
.nex-final-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:30px;border-radius:24px;background:linear-gradient(125deg,#102d4c,#1e5d96);color:#fff;box-shadow:0 18px 48px rgba(16,45,76,.16)}
.nex-final-hero:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-80px;top:-145px;box-shadow:0 0 0 42px rgba(255,255,255,.035)}
.nex-final-hero .eyebrow{color:#bcdcff}.nex-final-hero h2{font-size:30px;margin:7px 0;color:#fff}.nex-final-hero p{margin:0;max-width:570px;color:#dcecff;line-height:1.6}
.nex-final-progress{position:relative;z-index:1;min-width:150px;padding:14px 16px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.nex-final-progress span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#cfe5fb}.nex-final-progress b{display:block;margin-top:4px;font-size:24px;color:#fff}
.nex-final-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 22px}
.nex-final-actions button{display:grid;grid-template-columns:32px 1fr;text-align:left;align-items:center;gap:2px 10px;min-height:88px;padding:16px;border-radius:16px;box-shadow:0 8px 24px rgba(23,69,114,.08)}
.nex-final-actions button>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.17);font-size:10px}.nex-final-actions button>strong{font-size:13px}.nex-final-actions button>small{font-size:10px;opacity:.75}
.nex-final-section{margin:12px 0;border:1px solid #d9e5f0;border-radius:18px;background:#fff;box-shadow:0 6px 22px rgba(19,54,87,.055);overflow:hidden}
.nex-final-section>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;color:#173f67}.nex-final-section>summary::-webkit-details-marker{display:none}
.nex-final-section>summary span{display:flex;align-items:center;gap:12px}.nex-final-section>summary i{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#e8f2fc;color:#245c91;font-size:10px;font-style:normal}.nex-final-section>summary b{font-size:14px}.nex-final-section>summary small{color:#62788d;font-size:11px}
.nex-final-section>summary:after{content:"＋";color:#47749f;font-size:18px}.nex-final-section[open]>summary:after{content:"−"}.nex-final-section[open]>summary{border-bottom:1px solid #e7eef5}
.nex-final-body{padding:20px}.nex-final-notes{display:grid;grid-template-columns:1fr 1fr;gap:16px}.nex-final-notes textarea{min-height:110px}
.nex-final-footer{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding:12px;border:1px solid #dce6ef;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 12px 36px rgba(20,56,90,.13);backdrop-filter:blur(12px)}
@media(max-width:760px){.nex-final-hero{align-items:flex-start;flex-direction:column;padding:22px}.nex-final-progress{min-width:0;width:100%}.nex-final-actions{grid-template-columns:1fr}.nex-final-notes{grid-template-columns:1fr}.nex-final-section>summary small{display:none}.nex-final-footer{position:static;flex-direction:column}.nex-final-footer button{width:100%}}

/* Página principal — ícones Liquid Glass */
#home .homecard{
  --nex-glass-x:28%;--nex-glass-y:18%;
  isolation:isolate;
  background:linear-gradient(135deg,rgba(255,255,255,.7),rgba(221,237,253,.35))!important;
  border:1px solid rgba(255,255,255,.82)!important;
  box-shadow:0 14px 34px rgba(20,61,101,.11),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(83,145,204,.15)!important;
  backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);
}
#home .homecard:before{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;z-index:0!important;opacity:1!important;pointer-events:none;border-radius:inherit;background:radial-gradient(circle at var(--nex-glass-x) var(--nex-glass-y),rgba(255,255,255,.9) 0,rgba(255,255,255,.22) 25%,transparent 55%),linear-gradient(125deg,rgba(255,255,255,.22),transparent 46%,rgba(84,155,224,.1))!important;transition:background-position .18s ease}
#home .homecard:after{content:"";position:absolute;inset:1px;z-index:0;pointer-events:none;border-radius:inherit;border:1px solid rgba(255,255,255,.38);box-shadow:inset 10px 12px 24px rgba(255,255,255,.15),inset -10px -12px 25px rgba(42,105,165,.07)}
#home .homecard>*{position:relative;z-index:1}
#home .homecard.nex-dashboard-card{background:linear-gradient(135deg,rgba(23,69,114,.9),rgba(40,99,153,.76))!important;border-color:rgba(177,215,252,.38)!important;box-shadow:0 16px 38px rgba(12,45,78,.23),inset 0 1px 0 rgba(255,255,255,.28)!important}
#home .homecard .tile-icon{
  --nex-glass-x:28%;--nex-glass-y:18%;
  position:relative!important;isolation:isolate;overflow:hidden!important;
  background:linear-gradient(145deg,rgba(255,255,255,.42),rgba(196,224,255,.16))!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 14px 32px rgba(20,61,101,.16),inset 0 1px 0 rgba(255,255,255,.92),inset 0 -1px 0 rgba(99,154,211,.2)!important;
  backdrop-filter:blur(13px) saturate(145%);-webkit-backdrop-filter:blur(13px) saturate(145%);
  transform:perspective(320px) rotateX(var(--nex-glass-rx,0deg)) rotateY(var(--nex-glass-ry,0deg));
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
#home .homecard .tile-icon:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;background:radial-gradient(circle at var(--nex-glass-x) var(--nex-glass-y),rgba(255,255,255,.72) 0,rgba(255,255,255,.2) 24%,transparent 52%),linear-gradient(125deg,rgba(255,255,255,.34),transparent 42%,rgba(102,172,237,.13));mix-blend-mode:screen}
#home .homecard .tile-icon:after{content:"";position:absolute;inset:1px;z-index:3;pointer-events:none;border-radius:inherit;border:1px solid rgba(255,255,255,.3);box-shadow:inset 7px 8px 15px rgba(255,255,255,.16),inset -7px -9px 17px rgba(31,91,148,.1)}
#home .homecard .tile-icon img,#home .homecard .tile-icon svg{position:relative;z-index:1;filter:saturate(.9) contrast(1.03);transition:transform .24s ease,filter .24s ease}
@media(hover:hover) and (pointer:fine){#home .homecard:hover .tile-icon{border-color:rgba(220,240,255,.95)!important;box-shadow:0 18px 38px rgba(20,61,101,.21),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(99,154,211,.23)!important}#home .homecard:hover .tile-icon img,#home .homecard:hover .tile-icon svg{transform:scale(1.035);filter:saturate(1) contrast(1.05)}}
@media(hover:hover) and (pointer:fine){#home .homecard:hover{border-color:rgba(199,226,252,.96)!important;box-shadow:0 20px 44px rgba(20,61,101,.16),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(83,145,204,.17)!important}}
body.dark-mode #home .homecard{background:linear-gradient(135deg,rgba(23,48,70,.82),rgba(19,39,57,.65))!important;border-color:rgba(184,220,255,.2)!important;box-shadow:0 16px 38px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.14)!important}
body.dark-mode #home .homecard .tile-icon{background:linear-gradient(145deg,rgba(164,207,249,.2),rgba(45,91,135,.13))!important;border-color:rgba(184,220,255,.31)!important;box-shadow:0 16px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.26),inset 0 -1px 0 rgba(72,134,193,.2)!important}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){#home .homecard{background:linear-gradient(145deg,#fff,#eaf4ff)!important}#home .homecard .tile-icon{background:linear-gradient(145deg,#f4f9ff,#dcecff)!important}}
@media(prefers-reduced-motion:reduce){#home .homecard,#home .homecard .tile-icon{transform:none!important;transition:none!important}#home .homecard .tile-icon img,#home .homecard .tile-icon svg{transition:none!important}}
.nex-view .homecard .tile-icon{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;min-height:64px!important;padding:0!important;flex:none!important}.nex-view .homecard .tile-icon img{width:64px!important;height:64px!important;object-fit:contain}.nex-view .homecard .tile-head{gap:16px!important;grid-template-columns:64px minmax(0,1fr)!important}.nex-view .homecard .tile-copy h3{min-width:0;overflow-wrap:anywhere}
/* Paleta unificada dos ícones da página inicial */
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon{position:relative;isolation:isolate;border:1px solid rgba(255,255,255,.72)!important;box-shadow:0 12px 26px rgba(20,74,119,.16),inset 0 1px 0 rgba(255,255,255,.65)!important}
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon:before{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;background:linear-gradient(145deg,var(--nex-icon-a,#2879b8),var(--nex-icon-b,#123f68));mix-blend-mode:color;opacity:.78;pointer-events:none}
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon:after{content:"";position:absolute;inset:1px;z-index:3;border-radius:inherit;background:linear-gradient(145deg,rgba(255,255,255,.34),transparent 42%,rgba(7,42,72,.14));box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);pointer-events:none}
.homecards .homecard.t-red{--nex-icon-a:#398bd0;--nex-icon-b:#164d7e}.homecards .homecard.t-blue{--nex-icon-a:#55a8e8;--nex-icon-b:#22689f}.homecards .homecard.t-gold{--nex-icon-a:#6b9fc6;--nex-icon-b:#315f86}.homecards .homecard.t-green{--nex-icon-a:#36a0bf;--nex-icon-b:#176780}.homecards .homecard.t-purple{--nex-icon-a:#697fc5;--nex-icon-b:#354f94}.homecards .homecard.t-coral{--nex-icon-a:#4d91bd;--nex-icon-b:#285b83}.homecards .homecard.t-teal{--nex-icon-a:#3da1b7;--nex-icon-b:#206477}.homecards .homecard.t-indigo{--nex-icon-a:#577bc5;--nex-icon-b:#284b8b}
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card):hover .tile-icon{transform:translateY(-3px);box-shadow:0 16px 32px rgba(20,74,119,.22),inset 0 1px 0 rgba(255,255,255,.72)!important}

/* Ícones autorais: uma personalidade visual para cada módulo */
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon img{opacity:0!important}
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon:before{inset:14px!important;z-index:4!important;background-color:transparent!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;mix-blend-mode:normal!important;opacity:1!important}
.homecards .homecard:nth-child(3) .tile-icon{background:linear-gradient(145deg,#e97169,#ad3245)!important}.homecards .homecard:nth-child(3) .tile-icon:before{background-image:url("icon-diagnostico.svg")!important}
.homecards .homecard:nth-child(4) .tile-icon{background:linear-gradient(145deg,#4b9ee2,#225da0)!important}.homecards .homecard:nth-child(4) .tile-icon:before{background-image:url("icon-operacao.svg")!important}
.homecards .homecard:nth-child(5) .tile-icon{background:linear-gradient(145deg,#f0b752,#c77b24)!important}.homecards .homecard:nth-child(5) .tile-icon:before{background-image:url("icon-dicas.svg")!important}
.homecards .homecard:nth-child(6) .tile-icon{background:linear-gradient(145deg,#4bc6a0,#18806f)!important}.homecards .homecard:nth-child(6) .tile-icon:before{background-image:url("icon-agenda.svg")!important}
.homecards .homecard:nth-child(7) .tile-icon{background:linear-gradient(145deg,#8c78df,#5143a0)!important}.homecards .homecard:nth-child(7) .tile-icon:before{background-image:url("icon-producao.svg")!important}
.homecards .homecard:nth-child(8) .tile-icon{background:linear-gradient(145deg,#495eaf,#202d69)!important}.homecards .homecard:nth-child(8) .tile-icon:before{background-image:url("icon-ai.svg")!important}
.homecards .homecard:nth-child(9) .tile-icon{background:linear-gradient(145deg,#e98589,#b84064)!important}.homecards .homecard:nth-child(9) .tile-icon:before{background-image:url("icon-copiloto.svg")!important}
.homecards .homecard:nth-child(10) .tile-icon{background:linear-gradient(145deg,#41bfc4,#157a8d)!important}.homecards .homecard:nth-child(10) .tile-icon:before{background-image:url("icon-universidade.svg")!important}
.homecards .homecard:nth-child(11) .tile-icon{background:linear-gradient(145deg,#6d91ad,#344e68)!important}.homecards .homecard:nth-child(11) .tile-icon:before{background-image:url("icon-arquivos.svg")!important}
.homecards .homecard:nth-child(12) .tile-icon{background:linear-gradient(145deg,#55afd4,#226b9a)!important}.homecards .homecard:nth-child(12) .tile-icon:before{background-image:url("icon-consultor.svg")!important}
.homecards .homecard:nth-child(13) .tile-icon{background:linear-gradient(145deg,#8a72c5,#4e418d)!important}.homecards .homecard:nth-child(13) .tile-icon:before{background-image:url("icon-gestor.svg")!important}
.homecards .homecard:nth-child(14) .tile-icon{background:linear-gradient(145deg,#e9799b,#a53b68)!important}.homecards .homecard:nth-child(14) .tile-icon:before{background-image:url("icon-feedback.svg")!important}
.homecards .homecard:nth-child(15) .tile-icon{background:linear-gradient(145deg,#3b7aa6,#173f62)!important}.homecards .homecard:nth-child(15) .tile-icon:before{background-image:url("icon-helpdesk.svg")!important}

/* Correção: preserva os ícones originais e altera somente o fundo dos cards */
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon{background:transparent!important;border:0!important;box-shadow:none!important}
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon img{opacity:1!important;filter:none!important}
.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon:before,.homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon:after{display:none!important;background-image:none!important}
.homecards .homecard:nth-child(3){background:linear-gradient(135deg,#fff5f3,#fffafa)!important;border-color:#f3d4cf!important}
.homecards .homecard:nth-child(4){background:linear-gradient(135deg,#eef7ff,#fbfdff)!important;border-color:#cfe3f5!important}
.homecards .homecard:nth-child(5){background:linear-gradient(135deg,#fff9e9,#fffdf7)!important;border-color:#f1e0ad!important}
.homecards .homecard:nth-child(6){background:linear-gradient(135deg,#edfaf5,#fbfffd)!important;border-color:#ccebdd!important}
.homecards .homecard:nth-child(7){background:linear-gradient(135deg,#f5f1ff,#fcfbff)!important;border-color:#ded4f4!important}
.homecards .homecard:nth-child(8){background:linear-gradient(135deg,#f0f3ff,#fbfcff)!important;border-color:#d4dcf4!important}
.homecards .homecard:nth-child(9){background:linear-gradient(135deg,#fff2f5,#fffafc)!important;border-color:#f0d0d9!important}
.homecards .homecard:nth-child(10){background:linear-gradient(135deg,#ecfafb,#fbffff)!important;border-color:#c9e9eb!important}
.homecards .homecard:nth-child(11){background:linear-gradient(135deg,#f1f6f9,#fcfdfe)!important;border-color:#d5e1e8!important}
.homecards .homecard:nth-child(12){background:linear-gradient(135deg,#edf8ff,#fbfdff)!important;border-color:#cce5f2!important}
.homecards .homecard:nth-child(13){background:linear-gradient(135deg,#f5f1fb,#fdfbff)!important;border-color:#ddd3eb!important}
.homecards .homecard:nth-child(14){background:linear-gradient(135deg,#fff1f6,#fffafd)!important;border-color:#eed0dc!important}
.homecards .homecard:nth-child(15){background:linear-gradient(135deg,#eef4f9,#fbfdff)!important;border-color:#cfdee9!important}

/* Mantém o desenho original e varia somente a cor do fundo raster de cada ícone */
.homecards .homecard:nth-child(3) .tile-icon img{filter:hue-rotate(125deg) saturate(1.28) brightness(1.02)!important}
.homecards .homecard:nth-child(4) .tile-icon img{filter:hue-rotate(0deg) saturate(1.08)!important}
.homecards .homecard:nth-child(5) .tile-icon img{filter:hue-rotate(168deg) saturate(1.32) brightness(1.08)!important}
.homecards .homecard:nth-child(6) .tile-icon img{filter:hue-rotate(278deg) saturate(1.18) brightness(1.02)!important}
.homecards .homecard:nth-child(7) .tile-icon img{filter:hue-rotate(58deg) saturate(1.22)!important}
.homecards .homecard:nth-child(8) .tile-icon img{filter:hue-rotate(34deg) saturate(1.12) brightness(.96)!important}
.homecards .homecard:nth-child(9) .tile-icon img{filter:hue-rotate(103deg) saturate(1.22) brightness(1.04)!important}
.homecards .homecard:nth-child(10) .tile-icon img{filter:hue-rotate(292deg) saturate(1.12) brightness(1.03)!important}
.homecards .homecard:nth-child(11) .tile-icon img{filter:saturate(.38) brightness(.98)!important}
.homecards .homecard:nth-child(12) .tile-icon img{filter:hue-rotate(328deg) saturate(1.12) brightness(1.05)!important}
.homecards .homecard:nth-child(13) .tile-icon img{filter:hue-rotate(54deg) saturate(.92) brightness(.98)!important}
.homecards .homecard:nth-child(14) .tile-icon img{filter:hue-rotate(98deg) saturate(1.28) brightness(1.05)!important}
.homecards .homecard:nth-child(15) .tile-icon img{filter:hue-rotate(18deg) saturate(.78) brightness(.9)!important}

/* Fundos dos cards com prioridade sobre o azul geral do portal */
#home .homecards .homecard:nth-child(3){background:linear-gradient(135deg,#fff1f4 0%,#fff8fa 58%,#fde4eb 100%)!important;border-color:#f2bdca!important;box-shadow:0 16px 36px rgba(193,55,91,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(4){background:linear-gradient(135deg,#edf6ff 0%,#f7fbff 58%,#dcecff 100%)!important;border-color:#bad9f2!important;box-shadow:0 16px 36px rgba(41,109,176,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(5){background:linear-gradient(135deg,#fff8e8 0%,#fffdf6 58%,#fcebc0 100%)!important;border-color:#efd695!important;box-shadow:0 16px 36px rgba(190,132,32,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(6){background:linear-gradient(135deg,#eafaf4 0%,#f8fffc 58%,#d2f1e4 100%)!important;border-color:#aee0ca!important;box-shadow:0 16px 36px rgba(29,139,102,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(7){background:linear-gradient(135deg,#f2edff 0%,#fbf9ff 58%,#e2d8fa 100%)!important;border-color:#cdbcf0!important;box-shadow:0 16px 36px rgba(105,71,177,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(8){background:linear-gradient(135deg,#fff5e6 0%,#fffaf2 58%,#ffe5b8 100%)!important;border-color:#f0cb88!important;box-shadow:0 16px 36px rgba(199,119,27,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(9){background:linear-gradient(135deg,#fff0f1 0%,#fff8f8 58%,#fbd8dc 100%)!important;border-color:#efb7bf!important;box-shadow:0 16px 36px rgba(191,54,70,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(10){background:linear-gradient(135deg,#e8faf8 0%,#f7fffe 58%,#cef0ec 100%)!important;border-color:#a8ddd7!important;box-shadow:0 16px 36px rgba(17,137,133,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(11){background:linear-gradient(135deg,#fff4e9 0%,#fffaf5 58%,#fbe0c4 100%)!important;border-color:#efc391!important;box-shadow:0 16px 36px rgba(192,106,26,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(12){background:linear-gradient(135deg,#f0edff 0%,#faf9ff 58%,#ddd7fa 100%)!important;border-color:#c5bced!important;box-shadow:0 16px 36px rgba(79,65,167,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(13){background:linear-gradient(135deg,#f3effb 0%,#fcfaff 58%,#e4dcf2 100%)!important;border-color:#cfc1e4!important;box-shadow:0 16px 36px rgba(101,74,148,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(14){background:linear-gradient(135deg,#fff0f6 0%,#fff9fc 58%,#f8d8e7 100%)!important;border-color:#eab8d0!important;box-shadow:0 16px 36px rgba(173,54,111,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:nth-child(15){background:linear-gradient(135deg,#edf4f8 0%,#f9fcfe 58%,#d5e4ed 100%)!important;border-color:#b9d0de!important;box-shadow:0 16px 36px rgba(40,91,121,.11),inset 0 1px 0 #fff!important}
#home .homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-icon img{filter:none!important}

/* Refinamento premium: identidade individual com acabamento sóbrio */
#home .homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card){background:radial-gradient(circle at 92% 4%,var(--card-glow) 0,transparent 38%),linear-gradient(142deg,#fff 0%,var(--card-soft) 100%)!important;border:1px solid color-mix(in srgb,var(--card-accent) 25%,#d9e3ec)!important;box-shadow:inset 0 3px 0 var(--card-accent),inset 0 1px 0 #fff,0 14px 34px rgba(28,58,84,.085)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
#home .homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card):hover{transform:translateY(-4px)!important;border-color:color-mix(in srgb,var(--card-accent) 45%,#d9e3ec)!important;box-shadow:inset 0 3px 0 var(--card-accent),inset 0 1px 0 #fff,0 20px 42px rgba(28,58,84,.13)!important}
#home .homecards .homecard:not(.nex-dashboard-card):not(.despertar-home-card) .tile-arrow{color:var(--card-accent)!important;background:color-mix(in srgb,var(--card-accent) 9%,#fff)!important;border-color:color-mix(in srgb,var(--card-accent) 25%,#fff)!important}
#home .homecards .homecard:nth-child(3){--card-accent:#d85172;--card-soft:#fff5f7;--card-glow:rgba(216,81,114,.10)}
#home .homecards .homecard:nth-child(4){--card-accent:#367fbd;--card-soft:#f2f7fc;--card-glow:rgba(54,127,189,.10)}
#home .homecards .homecard:nth-child(5){--card-accent:#c18a2c;--card-soft:#fffbf2;--card-glow:rgba(193,138,44,.10)}
#home .homecards .homecard:nth-child(6){--card-accent:#269b79;--card-soft:#f2faf7;--card-glow:rgba(38,155,121,.10)}
#home .homecards .homecard:nth-child(7){--card-accent:#7459b8;--card-soft:#f6f3fb;--card-glow:rgba(116,89,184,.10)}
#home .homecards .homecard:nth-child(8){--card-accent:#bc7d25;--card-soft:#fcf8ef;--card-glow:rgba(188,125,37,.10)}
#home .homecards .homecard:nth-child(9){--card-accent:#c84c59;--card-soft:#fff5f5;--card-glow:rgba(200,76,89,.10)}
#home .homecards .homecard:nth-child(10){--card-accent:#208f91;--card-soft:#f1f9f8;--card-glow:rgba(32,143,145,.10)}
#home .homecards .homecard:nth-child(11){--card-accent:#d2762d;--card-soft:#fff8f2;--card-glow:rgba(210,118,45,.10)}
#home .homecards .homecard:nth-child(12){--card-accent:#5b55af;--card-soft:#f5f4fb;--card-glow:rgba(91,85,175,.10)}
#home .homecards .homecard:nth-child(13){--card-accent:#725099;--card-soft:#f7f4fb;--card-glow:rgba(114,80,153,.10)}
#home .homecards .homecard:nth-child(14){--card-accent:#ad4979;--card-soft:#fbf4f8;--card-glow:rgba(173,73,121,.10)}
#home .homecards .homecard:nth-child(15){--card-accent:#3f708d;--card-soft:#f3f7f9;--card-glow:rgba(63,112,141,.10)}

/* Os mesmos ícones dos módulos, adaptados ao menu lateral */
#globalSidebar .global-nav-icon{width:28px!important;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:9px;overflow:hidden;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);opacity:1!important}
#globalSidebar .nex-sidebar-module-icon{display:block;width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;object-fit:contain;border-radius:7px;filter:saturate(.88) brightness(.96);transform:none!important}
#globalSidebar svg.nex-sidebar-module-icon{padding:2px;overflow:visible}
#globalSidebar .nex-sidebar-symbol{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:linear-gradient(145deg,#d98742,#a9502f);color:#fff;font-size:13px;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
#globalSidebar .global-nav-item:hover .global-nav-icon,#globalSidebar .global-nav-item.active .global-nav-icon{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 5px 12px rgba(2,26,51,.16)}
#globalSidebar .global-nav-item:hover .nex-sidebar-module-icon,#globalSidebar .global-nav-item.active .nex-sidebar-module-icon{filter:saturate(.98) brightness(1.02)}

/* Dicas do Portal sai da grade e ganha destaque no banner principal. */
#home .nex-tips-spotlight{position:relative;z-index:2;width:100%;margin-top:22px;padding:17px 19px!important;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;text-align:left;border:1px solid rgba(187,219,251,.42)!important;border-radius:16px!important;background:linear-gradient(105deg,rgba(6,31,56,.76),rgba(31,91,145,.72))!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 12px 30px rgba(3,25,48,.2)!important;overflow:hidden}.nex-tips-spotlight:after{content:"";position:absolute;right:-35px;top:-70px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(133,204,255,.24),transparent 67%);pointer-events:none}.nex-tips-spark{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#ffe8a2,#e7a93e);color:#16395d;font-size:23px;box-shadow:inset 0 1px 0 #fff8,0 8px 18px #071f3b4d}.nex-tips-spotlight small,.nex-tips-spotlight b,.nex-tips-spotlight em{display:block}.nex-tips-spotlight small{color:#a9d8ff;font-size:8px;letter-spacing:.16em;font-weight:900}.nex-tips-spotlight b{margin-top:2px;color:#fff;font-size:17px}.nex-tips-spotlight em{margin-top:3px;color:#c9def1;font-size:10px;font-style:normal;font-weight:600;line-height:1.4}.nex-tips-spotlight>strong{position:relative;z-index:1;padding:10px 13px;border-radius:10px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:11px;white-space:nowrap}.nex-tips-spotlight:hover{transform:translateY(-2px)!important;filter:none!important;border-color:rgba(204,230,255,.75)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 17px 34px rgba(3,25,48,.27)!important}@media(max-width:680px){#home .nex-tips-spotlight{grid-template-columns:42px 1fr;padding:15px!important}.nex-tips-spotlight>strong{grid-column:2;justify-self:start}.nex-tips-spotlight em{font-size:9px}}

/* A identidade visual acompanha o módulo, independentemente da nova ordem. */
#home .homecards .homecard .tile-icon img{filter:none!important}
#home .homecards .homecard.nex-dashboard-card{background:linear-gradient(135deg,rgba(23,69,114,.96),rgba(40,99,153,.88))!important;border-color:rgba(177,215,252,.42)!important;--card-accent:#4f91c9!important;--card-soft:#174572!important;--card-glow:rgba(105,174,232,.14)!important}
#home .homecards .homecard.nex-dashboard-card .tile-icon{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;min-height:64px!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#home .homecards .homecard.nex-dashboard-card .tile-icon:before,#home .homecards .homecard.nex-dashboard-card .tile-icon:after{display:none!important;content:none!important}
#home .homecards .homecard.nex-dashboard-card .nex-dashboard-tile-icon{position:static!important;display:block!important;width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;min-height:64px!important;max-height:64px!important;margin:0!important;padding:0!important;opacity:1!important;filter:none!important;transform:none!important;object-fit:contain!important;border:0!important;border-radius:18px!important;box-shadow:0 9px 20px rgba(2,28,55,.28)!important}
#home .homecards .homecard[data-nex-module="adn"]{--card-accent:#d85172;--card-soft:#fff5f7;--card-glow:rgba(216,81,114,.10)}
#home .homecards .homecard[data-nex-module="operacao"]{--card-accent:#367fbd;--card-soft:#f2f7fc;--card-glow:rgba(54,127,189,.10)}
#home .homecards .homecard[data-nex-module="agenda"]{--card-accent:#269b79;--card-soft:#f2faf7;--card-glow:rgba(38,155,121,.10)}
#home .homecards .homecard[data-nex-module="producao"]{--card-accent:#7459b8;--card-soft:#f6f3fb;--card-glow:rgba(116,89,184,.10)}
#home .homecards .homecard[data-nex-module="copiloto"]{--card-accent:#c84c59;--card-soft:#fff5f5;--card-glow:rgba(200,76,89,.10)}
#home .homecards .homecard[data-nex-module="universidade"]{--card-accent:#208f91;--card-soft:#f1f9f8;--card-glow:rgba(32,143,145,.10)}

/* Revisão: menus laterais de Co-Piloto, Universidade e Meus Arquivos viram uma faixa deslizante no celular */
@media(max-width:720px){
 .copilot-nav,.uni-nav,.myfiles-nav{min-width:0;max-width:100%;overflow:hidden}
 .copilot-nav .card,.uni-nav .card,.myfiles-nav .card{max-width:100%;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding:10px}
 .copilot-nav .card>*,.uni-nav .card>*,.myfiles-nav .card>*{flex:0 0 auto;scroll-snap-align:start}
 .copilot-nav .card>button,.uni-nav .card>button,.myfiles-nav .card>button{width:auto;min-width:168px;max-width:230px;margin:0;white-space:normal;text-align:left}
 .copilot-nav .card>.eyebrow,.uni-nav .card>.eyebrow,.myfiles-nav .card>.eyebrow,.copilot-nav-sep{display:none}
}
