/* NEXO v3 — Editorial Tech. Camada visual; sem mudanças no matching, IA ou persistência.
   Baseado na direção aprovada: branco / cinza frio + violeta; estado semântico separado de brand. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;650;700;750;800&family=Inter:wght@400;500;600;700&display=swap');
:root{
 --bg:#f8f8fb;--side:#fff;--surface:#fff;--soft:#f3f3f7;--text:#1d1d24;
 --muted:#667085;--border:#e9e9f0;--deep:#5331a6;--brand:#6941c6;
 --brand-soft:#f4ebff;--brand-strong:#5331a6;--brand-500:#7f56d9;
 --stone-75:#f8f8fb;--stone-100:#f3f3f7;--stone-150:#eeeef5;
 --stone-200:#e9e9f0;--stone-300:#d4d4dd;--stone-400:#71717f;
 --green:#176448;--green-bg:#e7f6ee;
 --shadow:0 5px 22px rgba(23,18,63,.045);
 --shadow-xs:0 2px 8px rgba(30,29,64,.025);
 --shadow-sm:0 4px 16px rgba(30,29,64,.04);
 --shadow-md:0 12px 34px rgba(30,29,64,.07);
 --shadow-lg:0 24px 70px rgba(22,16,62,.14);
}
html{background:#f8f8fb;color-scheme:light}
body{background:#f8f8fb;color:var(--text);font:400 16px/1.6 Inter,system-ui,sans-serif}
body :is(button,input,select,textarea){font-family:Inter,system-ui,sans-serif}
:where(main,.shell,.sidebar,.home-hero,.home-copy,.home-cards,.faculty-card,.faculty-card-header,.faculty-head,.guided-layout,.guided-chat,.guided-context,.review-layout,.results-layout,.request-entry,.compare-grid,.compare-card){min-width:0}
:where(h1,h2,h3,.brand){font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;color:#1d1d24}
h1{font-size:clamp(31px,2.7vw,39px);line-height:1.18;letter-spacing:-.055em;font-weight:800;margin:0 0 12px}
h2{font-weight:750;letter-spacing:-.038em} h3{font-weight:700;letter-spacing:-.02em}
.eyebrow{color:#6941c6;letter-spacing:.11em;font-size:11px;font-weight:750;margin-bottom:12px}
.lead{color:#667085;font-size:16px;line-height:1.7;max-width:70ch;margin-bottom:29px}
main{max-width:1344px;padding:46px clamp(26px,4vw,61px) 125px}
#main:focus,#main:focus-visible{outline:0}
/* App chrome */
.sidebar{background:#fff;border-right:1px solid #ededf4;box-shadow:none;padding:27px 14px 20px}
.brand{position:relative;padding:0 10px 34px 19px;display:grid;align-content:start;gap:4px}
.brand:before{content:'✳';position:absolute;left:-5px;top:2px;color:#7f56d9;font:800 34px/1 'Plus Jakarta Sans',sans-serif}
.brand img{width:105px;max-height:37px;filter:none}
.brand small{font-size:8px;letter-spacing:.18em;line-height:1.45;color:#8990a2;margin:1px 0 0}
.sidebar nav{gap:5px}.sidebar .nav{min-height:46px;height:auto;padding:8px 13px;gap:13px;border-radius:12px;border:1px solid transparent;background:transparent;color:#51546a;font-size:14px;font-weight:550;box-shadow:none;transform:none}
.sidebar .nav img{width:19px;height:19px;opacity:.75;filter:none}
.sidebar .nav:hover{background:#f8f6ff;border-color:#f0eafd;box-shadow:none;transform:none}
.sidebar .nav.active{background:#f4ebff;color:#5331a6;font-weight:700;border-color:#f0e9ff;box-shadow:none}
.sidebar .nav.active img{filter:invert(28%) sepia(58%) saturate(1460%) hue-rotate(231deg) brightness(93%) contrast(98%);opacity:1}
.sidebar .nav.active:before{display:none}
.sidebar-bottom{border-top:1px solid #f0eff6;padding-top:12px}
.sidebar .resource-link{color:#5e6073;font-size:13px;background:transparent;border:0;box-shadow:none}
.sidebar .resource-link:hover{background:#f5f2ff;transform:none;box-shadow:none;color:#6941c6}
.mini-ai{border:1px solid #ebe4fd;background:#f9f6ff;border-radius:15px;padding:17px;box-shadow:none;margin:15px 0}
.mini-ai img{filter:invert(33%) sepia(53%) saturate(1220%) hue-rotate(231deg)}
.mini-ai p{font-size:13px;color:#4f4965;line-height:1.6}.mini-ai strong{font-size:12px;color:#6941c6}
.user{margin-top:5px;padding:10px 7px;background:transparent;border:0;box-shadow:none;border-radius:12px}.user strong{font-size:12px}.user small{font-size:11px;color:#7b7d91}
.recruiter-avatar{width:37px;height:37px;object-fit:cover;box-shadow:none}
.topbar{height:74px;background:rgba(255,255,255,.98);border-bottom:1px solid #ececf4;box-shadow:none;backdrop-filter:none}
.topbar>span{font-size:13px;color:#666b7a}.topbar .icon:hover{background:#f4ebff;box-shadow:none;transform:none}
/* Primary interactions */
.btn{background:#6941c6;border:1px solid #6941c6;color:#fff;border-radius:12px;min-height:46px;font-weight:650;font-size:14px;box-shadow:0 3px 9px rgba(105,65,198,.10);transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}
.btn:hover{background:#5331a6;border-color:#5331a6;box-shadow:0 6px 16px rgba(105,65,198,.15);transform:translateY(-1px)}
.btn.secondary{background:#fff;color:#594f78;border:1px solid #e1ddec;box-shadow:none}
.btn.secondary:hover{background:#f8f5ff;color:#5331a6;border-color:#d6c7fa}
.btn.ghost{background:transparent;color:#6941c6;border-color:transparent;box-shadow:none}
.filter-btn,.chip,.request-filter{color:#4b4c60;background:#fff;border:1px solid #e5e5ef;border-radius:12px;box-shadow:none;transition:background .16s,border-color .16s,color .16s}
.filter-btn:hover,.chip:hover,.request-filter:hover{background:#f9f6ff;border-color:#d8caf4;color:#5331a6;box-shadow:none;transform:none}
.text-link,.flow-link{color:#6941c6;font-weight:650;text-decoration:none}.text-link:hover,.flow-link:hover{color:#5331a6;text-decoration:underline;text-underline-offset:3px}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #9e77ed;outline-offset:3px}
/* Home / illustration built as soft, decorative gradients — not fake data */
.home-hero{margin:-46px calc(-1 * clamp(26px,4vw,61px)) 0;min-height:560px;position:relative;padding:92px clamp(28px,5.6vw,84px) 33px;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,#fff 8%,#fdfcff 80%,#faf7ff 100%);border-bottom:1px solid #eeeafa}
.home-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.04) 100%);pointer-events:none;z-index:0}
.home-hero:after{content:'';position:absolute;right:clamp(40px,8vw,120px);top:78px;width:min(38vw,520px);height:min(30vw,360px);background:radial-gradient(circle at 50% 50%,rgba(154,118,236,.10),rgba(154,118,236,0) 72%);pointer-events:none;filter:blur(18px);z-index:0}
.home-hero>img.architecture{display:none!important}
.home-hero .home-hero-illustration{position:absolute;right:clamp(22px,6vw,96px);top:56px;width:min(42vw,540px);height:auto;pointer-events:none;z-index:1;opacity:.92;filter:drop-shadow(0 14px 38px rgba(133,98,212,.08))}
.home-copy{position:relative;z-index:2;max-width:1080px}
.home-hero h1,.home-hero .lead{position:relative;z-index:2;max-width:min(680px,calc(100% - min(34vw,420px)))}
.home-hero .searchbox,.home-hero .prompt-row{position:relative;z-index:2}

.home-copy{position:relative;z-index:1;max-width:1110px}.welcome{font-size:11px;letter-spacing:.20em;color:#6f4bb7;font-weight:750;margin-bottom:21px;gap:9px}.welcome i{background:#8053d0;height:2px;width:24px}
.home-hero h1{font:800 clamp(39px,4.15vw,61px)/1.11 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.065em;color:#1d1d31;max-width:790px;margin:0 0 20px;padding:0;text-wrap:balance}
.home-hero h1 span{font-weight:650;color:#2a2545}.home-hero .lead{font-size:16px;max-width:620px;color:#656980;line-height:1.65;margin:0 0 33px;padding:0}
.searchbox{max-width:990px;border:1px solid #e5e0f1;border-radius:20px;padding:19px 22px 18px;background:#fff;box-shadow:0 13px 38px rgba(62,37,128,.065)}
.searchbox:focus-within{border-color:#9e77ed;box-shadow:0 0 0 4px #f4ebff,0 13px 38px rgba(62,37,128,.055)}
.searchbox textarea{min-height:84px;font-size:16px;color:#2c2942;border-left:2px solid #9e77ed;padding-left:17px}
.searchbox textarea::placeholder{color:#898a9d}.search-actions{margin-top:9px;gap:12px}.search-actions>div{flex-wrap:wrap;gap:8px}.filter-btn{border-radius:999px;min-height:43px;font-size:13px}
.search-cta{min-width:208px;border-radius:12px}
.prompt-row{gap:10px;margin-top:29px;max-width:990px}.prompt-row>strong{color:#77758d;font-size:10px;letter-spacing:.12em}.prompt-row button{border-radius:13px;background:#fff;min-height:51px;border:1px solid #e6e1f2;box-shadow:0 3px 12px rgba(40,29,88,.025);color:#45435a;font-size:13px;font-weight:600;padding:10px;white-space:normal}
.prompt-row button:hover{background:#f7f2ff;border-color:#d8caf4;box-shadow:none;transform:none}
.home-cards{margin:25px 0 0;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.home-cards article{min-height:228px;border-radius:18px;border:1px solid #e9e6f3;background:#fff;padding:26px 28px;box-shadow:0 7px 23px rgba(28,23,75,.025);position:relative;overflow:hidden}
.home-cards article:nth-child(2){background:linear-gradient(112deg,#fff 0%,#fff 62%,#f9f5ff 100%)}
.home-cards article:after{display:none}.home-cards h2{font:750 21px/1.35 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.04em;color:#27263b;margin:14px 0 8px}
.home-cards p{font-size:14px;color:#686c7d;line-height:1.6;max-width:310px}
.card-icon{width:44px;height:44px;border-radius:13px;background:#f4ebff;color:#6941c6;box-shadow:none}.card-icon img{filter:invert(34%) sepia(47%) saturate(1350%) hue-rotate(231deg)}
.profile-stack{transform:rotate(-1.5deg);background:#fff;border-color:#ebe5f3;border-radius:12px;box-shadow:0 10px 22px rgba(43,30,99,.09);position:relative;z-index:1}
.mini-chart i{background:#ebe6f7;border-radius:7px 7px 2px 2px}.mini-chart i:last-of-type{background:#7f56d9}
.mini-chart b{border-color:#e4ddef}.home-quote{color:#7b70a4}
/* Chat and need review */
.nexo-progress{margin-top:26px;margin-bottom:34px}.nexo-progress>div{background:#eae7f3}.nexo-progress i{background:#6941c6!important}.nexo-progress>span{color:#6c6b80;font-size:12px}
.guided-layout,.review-layout{gap:26px}.guided-messages{gap:17px;scrollbar-color:#d9cfed transparent}
.guided-user,.guided-agent{border-radius:17px;padding:19px 22px;box-shadow:none;max-width:min(590px,92%);border:1px solid #eae7f4}
.guided-user{align-self:flex-end;background:#f3f3f8;border-color:#eeeef5}.guided-agent{align-self:flex-start;background:#f8f5ff;border-color:#ece4ff}
.guided-messages b{font-size:12px;color:#6941c6;letter-spacing:.025em}.guided-user b{color:#696b7d}
.guided-messages p{font-size:16px;line-height:1.62;color:#303047}
.guided-context,.review-panel,.review-pending,.faculty-evidence-main,.evidence-validation,.compare-card,.handoff-panel,.handoff-success,.handoff-error{background:#fff;border:1px solid #e9e6f1;border-radius:18px;box-shadow:none}
.guided-context{padding:24px}.guided-context>small,.review-panel>small,.review-ementa>small,.evidence-validation>small{color:#6941c6;font-size:12px}
.guided-context h2{font-size:21px}.guided-context section{border-bottom-color:#ededf4}.guided-context section b{color:#7b7b92;font-size:12px}.guided-context section span{font-size:15px;color:#464659}
.guided-context-note{background:#f9f7ff;border:1px solid #efe8ff;color:#4a465b;border-radius:12px;padding:15px}.guided-context-note b{color:#6941c6}
.guided-composer,.ai-composer{background:#fff;border:1px solid #e4e1ed;border-radius:15px;box-shadow:none}
.guided-composer:focus-within,.ai-composer:focus-within{border-color:#9e77ed;box-shadow:0 0 0 4px #f4ebff}
.guided-composer input,.ai-composer input{background:transparent;font-size:16px}.guided-composer input:focus,.ai-composer input:focus{box-shadow:none}
.guided-options .chip{border-radius:12px;min-height:46px}.guided-footnote{color:#7a7d91;font-size:13px}
.review-panel,.review-pending{padding:24px}.review-panel h2{font-size:22px}.review-pending h2{font-size:22px}
.review-panel input,.review-panel select,.handoff-panel input,.handoff-panel textarea,.handoff-panel select,.requests-toolbar input,.compare-selectors select,.details-grid input,.details-grid select,.details-grid textarea,.delete-dialog select,.delete-dialog textarea{border:1px solid #e0deeb;border-radius:11px;background:#fff;color:#313149;box-shadow:none}
.review-panel input:focus,.review-panel select:focus,.handoff-panel input:focus,.handoff-panel select:focus,.handoff-panel textarea:focus,.requests-toolbar input:focus,.compare-selectors select:focus,.details-grid input:focus,.details-grid select:focus,.delete-dialog select:focus,.delete-dialog textarea:focus{border-color:#9e77ed;box-shadow:0 0 0 3px #f4ebff}
/* Faculty: portrait + status + 3 verifiable academic highlights */
.results-layout{gap:22px}.cards{gap:18px}.request-summary,.compare-query{background:#f9f7ff;border:1px solid #eee8fc;border-radius:15px;box-shadow:none}
.request-summary b,.compare-query b{color:#493181}.faculty-card{background:#fff;border:1px solid #e8e7f0;border-radius:19px;box-shadow:0 6px 22px rgba(25,24,67,.025);transition:border-color .16s,box-shadow .16s,transform .16s}
.faculty-card:hover{border-color:#cdc1ed;box-shadow:0 12px 28px rgba(52,35,120,.07);transform:translateY(-1px)}
.faculty-card-header{padding:23px 25px 19px;gap:13px;border-bottom-color:#ededf4}.faculty-card .faculty-head{gap:16px}.faculty-card .faculty-head img,.faculty-card .faculty-head .initial-avatar{width:78px;height:78px;flex-basis:78px;border-radius:15px}
.initial-avatar{background:#f1eafb!important;color:#5f47a6!important;border:1px solid #e4d8fb}
.faculty-card .faculty-head h3{font:750 20px/1.24 'Plus Jakarta Sans',Inter,sans-serif;color:#26243a;letter-spacing:-.035em;margin-bottom:7px}
.faculty-area{font-size:14px;color:#68697e}.faculty-demo-label{color:#838397;font-size:12px}
.faculty-match-tag{font-size:12px;border-radius:999px;padding:7px 12px;min-height:32px;font-weight:650}
.faculty-match-tag.potential{background:#e7f6ee;border-color:#d2ebdf;color:#176448}.faculty-match-tag.validate{background:#fff4da;border-color:#f4e7c4;color:#875b12}
.badge{background:#e7f6ee;color:#176448}.badge.pending{background:#fff4da;color:#875b12}
.faculty-details{padding:21px 25px 13px;gap:20px}.faculty-details section b,.faculty-match b,.compare-evidence b{color:#77788b;font-size:12px;letter-spacing:.065em}
.faculty-details section p,.faculty-match p{color:#3e3d54;font-size:15px;line-height:1.55}
.faculty-match{background:#f9f8ff;border:1px solid #eeeafa;border-radius:12px;padding:16px 17px;margin:5px 25px 15px}
.faculty-evidence-highlights{gap:7px;margin-top:12px}.faculty-evidence-highlights li{background:#f1ebff!important;border-color:#e9e0ff!important;color:#5e469d!important;border-radius:999px;font-size:13px;padding:7px 11px}
.faculty-match small{color:#737388;font-size:13px;line-height:1.55}.faculty-shift-status{border-color:#efedf5;color:#5c5c71;margin:14px 25px 11px}.faculty-shift-status b{color:#4f496c}.faculty-availability{margin:0 25px 18px;color:#72778a}
.faculty-card .card-actions{padding:17px 25px;background:#fff;border-top-color:#f0edf6;gap:13px}
.faculty-main-action{font-size:14px}.faculty-compare-action{font-size:13px;border-color:#ddd5f2!important;color:#6941c6!important;border-radius:11px}
.decision-card,.evidence-validation{background:linear-gradient(180deg,#fff,#fbfaff);border:1px solid #e9e5f5;border-radius:17px}.decision-card h3{color:#28263d}
.compare-card{padding:23px}.compare-card h2{font-size:20px}.compare-evidence p{font-size:15px}
.compare-status{background:#f6f3ff;color:#684aa9}.decision-choice{border:1px solid #e8e5f0;background:#fff;border-radius:17px}.decision-choice:hover{border-color:#bca8ed;box-shadow:var(--shadow-sm)}
.decision-symbol{background:#f4ebff;color:#6941c6}.handoff-warning{background:#faf9fd;border-left-color:#9e77ed}
/* Request management, Insights and overlays */
.requests-toolbar{border:1px solid #e8e7f0;border-radius:16px;box-shadow:none}.request-filter.selected,.request-filter[aria-pressed=true]{background:#f4ebff;color:#6941c6}
.request-entry{grid-template-columns:minmax(0,1fr) minmax(210px,auto);padding:21px 24px;min-height:109px;gap:20px;border-radius:16px;background:#fff;border:1px solid #e8e7f0;box-shadow:none}
.request-entry:hover{border-color:#cdc1ed;box-shadow:var(--shadow-sm);transform:none}.request-entry-heading b{font-size:17px;color:#28273c}.request-entry .request-meta{font-size:14px;color:#77788d}.request-entry .request-note{font-size:13px;color:#63677c}
.request-type{color:#73619b;font-size:11px}.request-badge{background:#f3f3f7;color:#4d4d62;border:1px solid #e9e9f0;padding:7px 10px}
.request-entry-side{gap:10px}.request-entry-actions{gap:16px}.request-entry-actions .text-link{font-size:13px}.request-entry-actions .danger-link{color:#b42318!important}
.insights-no-data{background:transparent!important;border:0!important}.insights-no-data article{background:#fff;border:1px solid #e9e9f0;border-radius:17px}
.ai-fab{background:#6941c6;border-radius:999px;box-shadow:0 10px 28px rgba(105,65,198,.18)}.ai-fab:hover{background:#5331a6;box-shadow:0 12px 29px rgba(105,65,198,.22)}
.ai-panel{background:#fff;border-color:#e8e3f4;box-shadow:0 24px 70px rgba(21,15,64,.16)}.ai-mark{background:#f4ebff;color:#6941c6}.ai-context{background:#f9f7ff;border-color:#ede8fb}.ai-context b{color:#6941c6}
.msg.agent{background:#f9f7ff;border-color:#eee9fc;color:#333048}.msg.user{background:#f3f3f7;color:#333048}.ai-composer button{background:#6941c6!important}
.drawer,.modal,.delete-dialog{background:#fff;box-shadow:var(--shadow-lg)}.modal header small,.drawer header span{color:#6941c6}
.toast{background:#29243d;color:#fff}
/* Curriculum plugin — align legacy terracotta presentation with new product */
.lattes-root{color:#2e2c43}.lattes-flag{background:#faf7ff;border-color:#e9e0ff;color:#6144ac}.lattes-eyebrow,.lattes-qualification,.cv-caution strong,.dataset-match-evidence b{color:#6941c6}
.lattes-qualification,.cv-entry-tag{background:#f4ebff;color:#6941c6}.lattes-jump a{color:#6941c6;background:#f8f5ff}.lattes-jump a:focus-visible{outline-color:#9e77ed}
.cv-entry{border-left-color:#e7ddfa}.cv-entry-tag{color:#6941c6}.cv-keywords span{background:#f3f0ff;color:#604a9a}
.cv-caution,.dataset-footnote{background:#f9f7ff;border-color:#ebe5fa;color:#5b5673}
.nexo-dataset-card{border-color:#e9e9f0;color:#27243d}.nexo-dataset-card:hover{border-color:#bca8ed;box-shadow:0 9px 24px rgba(38,24,90,.06)}
.nexo-dataset-card:focus-visible{outline-color:#9e77ed}.dataset-card-divider{background:#e9e9f0}.dataset-match-evidence{background:#f9f7ff}
.dataset-card-cta,.nexo-dataset-action{color:#6941c6}.dataset-toolbar input,.dataset-toolbar select,.demo-panel input,.demo-panel select,.demo-panel textarea{border-color:#e7e3ef;color:#28283d}
.demo-panel button{background:#6941c6}.demo-panel button:focus-visible{outline-color:#9e77ed}.lattes-root a{color:#6941c6}
/* Usability: do not shrink text or leave 2-column desktop on a narrow screen */
@media(max-width:1199px){
 main{padding:36px clamp(20px,4vw,48px) 115px}
 .home-hero{margin:-36px calc(-1 * clamp(20px,4vw,48px)) 0;padding:68px clamp(22px,5vw,58px) 25px}
 .home-hero h1{font-size:clamp(37px,5vw,56px)}.home-hero .home-hero-illustration{right:22px;top:74px;width:min(45vw,470px)}.home-hero:after{right:0;top:95px;width:min(42vw,430px);height:min(30vw,300px)}
}
@media(max-width:900px){
 main{padding:31px 20px 105px}.home-hero{margin:-31px -20px 0;padding:51px 22px 20px;min-height:unset}
 .home-hero h1{font-size:clamp(35px,5.5vw,47px)}.home-hero .home-hero-illustration{right:-34px;top:88px;width:min(52vw,400px);opacity:.72}.home-hero:after{opacity:.45;right:-90px;top:110px;width:min(52vw,360px);height:min(34vw,240px)}.home-hero h1,.home-hero .lead{max-width:min(620px,calc(100% - 180px))}
 .guided-layout,.review-layout,.results-layout,.evidence-layout{grid-template-columns:minmax(0,1fr)!important}
 .guided-context{order:2;max-height:none}.request-entry{grid-template-columns:minmax(0,1fr)}
 .request-entry-side{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.request-entry-actions{flex-wrap:wrap;justify-content:flex-start}
 .home-cards{grid-template-columns:1fr;gap:13px}.home-cards article{min-height:210px}
}
@media(max-width:600px){
 main{padding:25px 16px 105px}.home-hero{margin:-25px -16px 0;padding:43px 16px 25px}
 .home-hero h1{font-size:clamp(33px,8.4vw,42px);line-height:1.15}.home-hero .lead{font-size:15px}
 .home-hero:before,.home-hero:after{display:none}.home-hero .home-hero-illustration{width:min(70vw,320px);right:-44px;top:78px;opacity:.48}.home-hero h1,.home-hero .lead{max-width:100%}.searchbox{padding:17px;border-radius:16px}.searchbox textarea{min-height:101px}
 .search-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}.search-cta{width:100%}
 .prompt-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.prompt-row>strong{grid-column:1/-1}
 .prompt-row button{min-height:50px;font-size:13px}.home-cards article{grid-template-columns:minmax(0,1fr) 96px;padding:19px;gap:10px}.home-cards h2{font-size:19px}
 .home-cards .profile-stack{width:94px;padding:5px}.home-cards .profile-stack img{width:82px;height:78px}.home-cards .profile-stack b{font-size:10px}
 .guided-user,.guided-agent{max-width:100%;padding:16px 17px}.guided-messages p{font-size:15px}
 .faculty-card-header{padding:17px 18px}.faculty-card .faculty-head img,.faculty-card .faculty-head .initial-avatar{width:60px;height:60px;flex-basis:60px}
 .faculty-details{padding:17px 18px;grid-template-columns:1fr}.faculty-match{margin:4px 18px 14px}.faculty-shift-status,.faculty-availability{margin-inline:18px}
 .faculty-card .card-actions{padding:16px 18px}.request-entry{padding:18px}.review-panel,.review-pending,.guided-context{padding:20px}
 .ai-fab{right:14px;bottom:14px;width:54px;height:54px;padding:0;justify-content:center}.ai-fab b{display:none}.ai-panel{width:100vw;max-width:none;right:0;top:0;bottom:0;border-radius:0}
}
@media(max-width:360px){.home-cards article{grid-template-columns:minmax(0,1fr)}.home-cards .profile-stack{display:none}.prompt-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){:where(.btn,.chip,.faculty-card,.request-entry,.ai-fab){transition:none!important;transform:none!important}}


/* NEXO v3.0.2 — limpeza da paleta + compare restrito aos resultados */
:root{
  --bg:#F8F8FB;
  --surface:#FFFFFF;
  --soft:#F5F6FB;
  --text:#1D1D24;
  --muted:#667085;
  --border:#E8EAF3;
  --brand:#6941C6;
  --brand-strong:#5331A6;
  --brand-soft:#F5F0FF;
}
html,body{background:var(--bg)}

/* remove resíduos da paleta quente */
.details-dialog, .modal, .drawer, .delete-dialog, .compare-card, .faculty-card, .request-entry, .requests-toolbar, .guided-context, .review-panel, .review-pending, .decision-card, .evidence-validation, .request-summary, .compare-query, .file-field, .pdf-status, .details-grid>section, .details-grid>nav button {
  border-color: var(--border) !important;
}
.details-dialog::backdrop, .drawer::backdrop, .modal::backdrop, .delete-dialog::backdrop{background:rgba(16,18,28,.54)}
.details-dialog{background:#fff !important;box-shadow:0 28px 80px rgba(16,18,28,.18)!important}
.details-dialog .detail-close, .drawer header .icon, .modal header .icon{background:#F4F4FA !important;border:1px solid var(--border)!important}
.details-dialog h2, .compare-screen h1, .compare-card h2{color:var(--text)}
.details-dialog header p, .compare-screen .lead{color:var(--muted)}
.details-grid>nav button{background:#fff!important}
.details-grid>nav button.selected{background:#F7F4FF!important;border-color:#DCCBFF!important;box-shadow:0 0 0 1px #EEE7FF inset}
.details-grid>nav button>span{background:#F5F0FF!important;color:var(--brand)!important}
.details-grid>nav img{filter:grayscale(1) brightness(.35) contrast(1.2)}
.details-grid>nav button.selected img{filter:invert(27%) sepia(64%) saturate(1278%) hue-rotate(232deg) brightness(92%) contrast(97%)}
.details-grid>section{background:#FBFBFE!important}
.file-field{background:#fff!important}
.file-field b{color:var(--brand)!important;background:#FBFAFF}
.pdf-status{background:#F6F7FC!important}

.compare-query, .request-summary{background:#FBFAFF!important;border-color:#ECE8FB!important}
.compare-query b, .request-summary b, .eyebrow{color:var(--brand)!important}
.compare-selectors label{color:#475467;font-weight:600}
.compare-selectors select{background:#fff!important;border-color:#DADCEC!important}
.compare-card{background:#fff!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(26,26,32,.05)!important}
.compare-card header{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}
.compare-card header img,.compare-card header .initial-avatar{width:74px;height:74px;border-radius:18px;object-fit:cover}
.compare-card .initial-avatar{background:#F0EAFE!important;color:#6941C6!important;border:1px solid #E2D6FE}
.compare-status,.faculty-demo-label{background:transparent!important}
.faculty-demo-label{color:#98A2B3!important}

.sidebar .nav, .sidebar .resource-link, .sidebar-bottom>.nav{color:#344054!important}
.sidebar .nav img, .sidebar .resource-link img, .sidebar-bottom>.nav img{opacity:.82!important;filter:none!important}
.sidebar .nav:hover:not(.active), .sidebar .resource-link:hover, .sidebar-bottom>.nav:hover{background:#FAF8FF!important;color:#2F2160!important;border-color:#EFE7FF!important}
.sidebar .nav.active, .sidebar .nav.active:hover{background:#F4EBFF!important;color:#1D1D24!important;border-color:#E9D7FE!important}
.sidebar .nav.active img{opacity:1!important;filter:invert(27%) sepia(64%) saturate(1278%) hue-rotate(232deg) brightness(92%) contrast(97%)!important}
.resource-link .resource-external, .text-link, .flow-link{color:var(--brand)!important}
.mini-ai{background:linear-gradient(180deg,#FEFDFF 0%,#F7F4FF 100%)!important;border-color:#EDE7FE!important}
.mini-ai p{color:#4B4565!important}.mini-ai strong{color:var(--brand)!important}

@media (max-width:720px){
  .compare-card header{grid-template-columns:64px 1fr}
  .compare-card header img,.compare-card header .initial-avatar{width:64px;height:64px;border-radius:16px}
}


/* v3.0.3 — Perfil docente editorial; sem dados acadêmicos inventados */
.profile-screen{max-width:1240px;margin:0 auto}.profile-screen .eyebrow{margin:4px 0 19px}
.profile-shell{border:1px solid #e9e9f0;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 9px 32px rgba(26,24,65,.04)}
.profile-hero{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:32px;padding:32px 34px 30px;align-items:stretch}
.profile-hero-main{display:flex;gap:26px;min-width:0;align-items:flex-start}
.profile-photo{flex:0 0 178px;width:178px;height:210px;border-radius:17px;overflow:hidden;background:#f4ebff;display:grid;place-items:center}
.profile-photo img,.profile-photo .initial-avatar{width:100%!important;height:100%!important;border-radius:0!important;object-fit:cover;font-size:38px;display:grid;place-items:center}
.profile-hero-copy{min-width:0;flex:1}.profile-status-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 11px}
.profile-hero h1{font-size:clamp(26px,2.8vw,36px);line-height:1.17;letter-spacing:-.047em;margin:0 0 7px}
.profile-demo{color:#8990a2;font-size:12px}.profile-subtitle{font-size:15px;color:#61667c;margin:0 0 15px}
.profile-intro{font-size:14px;line-height:1.65;color:#62677b;max-width:55ch;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.profile-hero-actions{display:flex;flex-wrap:wrap;gap:9px}.profile-hero-actions .btn{font-size:13px;min-height:42px}
.profile-facts{display:grid;align-content:center;gap:0;padding-left:28px;border-left:1px solid #ededf5}
.profile-facts>div{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #f0eef7;min-width:0}
.profile-facts>div>strong{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-size:21px;color:#5331a6;min-width:0;line-height:1.2;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;flex:0 0 auto}
.profile-facts>div>span{font-size:13px;color:#35374d;line-height:1.35;min-width:0}.profile-facts small{display:block;font-size:11px;color:#8990a2;margin-top:3px}
.profile-facts-link{border:0;background:none;color:#6941c6;font-size:13px;font-weight:650;text-align:left;cursor:pointer;padding:15px 0 0}
.profile-tabs{display:flex;gap:23px;padding:0 34px;border-top:1px solid #f0eef7;border-bottom:1px solid #ecebf5;overflow-x:auto;scrollbar-width:thin}
.profile-tabs button{color:#73778a;padding:18px 3px 16px;border:0;border-bottom:3px solid transparent;background:transparent;white-space:nowrap;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
.profile-tabs button:hover{color:#5331a6}.profile-tabs button.is-active{color:#6941c6;border-bottom-color:#6941c6}
.profile-content{padding:27px 34px 34px;display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:19px;align-items:start}
.profile-tab-panel{min-width:0;display:grid;gap:15px}.profile-overview-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:15px;align-items:stretch}
.profile-section-card{padding:22px 23px;border:1px solid #eceaf4;background:#fff;border-radius:15px;min-width:0}
.profile-overline{display:block;font-size:11px;letter-spacing:.085em;font-weight:750;color:#6941c6;margin-bottom:10px}
.profile-section-card h3,.profile-next h3{font:750 19px/1.34 'Plus Jakarta Sans',Inter,sans-serif;letter-spacing:-.028em;color:#25253b;margin:0 0 13px}
.profile-section-card p,.profile-next p{font-size:14px;line-height:1.7;color:#565c70;margin:0 0 14px;overflow-wrap:anywhere}
.profile-section-card p:last-child{margin-bottom:0}.profile-lavender{background:linear-gradient(145deg,#faf8ff 0%,#f4efff 100%);border-color:#efe8fd}
.profile-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.profile-tags span{display:inline-flex;align-items:center;max-width:100%;padding:7px 10px;background:#f2edff;color:#60429e;border:1px solid #e8ddff;border-radius:999px;font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.profile-separator{height:1px;background:#e9defa;margin:21px 0}.profile-muted,.profile-section-card .profile-muted{font-size:13px;color:#777d91}.profile-list{display:grid;gap:0}
.profile-list-row{padding:15px 0;border-bottom:1px solid #eeeef5}.profile-list-row:first-child{padding-top:1px}.profile-list-row:last-child{border-bottom:0;padding-bottom:0}
.profile-list-row strong{display:block;font-size:15px;color:#282b42}.profile-list-row small{display:block;color:#7c8095;margin:4px 0;font-size:12px}.profile-list-row p{margin:9px 0 0}
.profile-next{background:#faf9ff;border:1px solid #eae6f8;border-radius:15px;padding:24px 22px;position:sticky;top:94px;min-width:0}
.profile-next-icon{display:grid;place-items:center;width:42px;height:42px;background:#eee6ff;color:#6941c6;border-radius:13px;font-size:23px;margin-bottom:21px}
.profile-next ul{margin:10px 0 18px;padding-left:19px;font-size:14px;color:#53596c;line-height:1.8}
.profile-next .profile-disclaimer{padding:12px;border-radius:10px;background:#fff;color:#73788c;font-size:12px;line-height:1.6;border:1px solid #efebf9}
.profile-next .btn{width:100%;margin:7px 0 0;font-size:13px;white-space:normal;min-height:45px}
.profile-next .btn.secondary{background:#fff}
@media(max-width:1150px){.profile-hero{grid-template-columns:minmax(0,1fr);gap:18px}.profile-facts{display:flex;gap:18px;border-left:0;border-top:1px solid #ededf5;padding:15px 0 0;flex-wrap:wrap}.profile-facts>div{flex:1 1 135px;border-bottom:0}.profile-facts-link{align-self:center}.profile-content{grid-template-columns:minmax(0,1fr)}.profile-next{position:static}}
@media(max-width:760px){.profile-hero{padding:22px}.profile-hero-main{gap:16px}.profile-photo{flex-basis:125px;width:125px;height:150px}.profile-tabs{padding:0 20px;gap:18px}.profile-content{padding:20px;gap:15px}.profile-overview-grid{grid-template-columns:1fr}.profile-section-card{padding:20px}.profile-next{padding:20px}}
@media(max-width:480px){.profile-shell{border-radius:17px}.profile-hero{padding:18px}.profile-hero-main{display:grid;grid-template-columns:96px minmax(0,1fr);gap:13px}.profile-photo{width:96px;height:114px}.profile-hero-copy{display:contents}.profile-status-row{grid-column:2;margin:0;align-self:end}.profile-hero h1{grid-column:2;font-size:25px;margin:-5px 0 0;align-self:start}.profile-subtitle{grid-column:1/-1;margin:0}.profile-intro{grid-column:1/-1;-webkit-line-clamp:5}.profile-hero-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr}.profile-hero-actions .btn{width:100%}.profile-facts{gap:3px 14px}.profile-facts>div{flex-basis:125px}.profile-content{padding:14px}.profile-tabs{padding:0 14px}.profile-section-card{padding:18px}.profile-next{padding:18px}}

@media(max-width:760px){.profile-facts>div>strong{font-size:19px}}
@media(max-width:480px){.profile-facts>div{flex-basis:140px}.profile-facts>div>strong{font-size:18px}}

/* v3.0.6 — atalhos legíveis e acionáveis em desktop/tablet/mobile */
.prompt-row{display:grid;grid-template-columns:190px repeat(4,minmax(0,1fr));gap:10px;align-items:stretch;max-width:990px}
.prompt-row>strong{display:flex;align-items:center;justify-content:flex-start;min-width:0;font-size:12px;line-height:1.35;letter-spacing:.04em;white-space:normal;color:#626579}
.prompt-row button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;width:100%;height:auto;min-height:54px;padding:11px 12px;text-align:left;font-size:13px;line-height:1.35;white-space:normal}
.prompt-row button .nexo-icon{flex:0 0 20px;width:20px;height:20px;margin:0}
.prompt-row button span{min-width:0;overflow-wrap:normal;word-break:normal;hyphens:none}
@media(max-width:1450px){.prompt-row{grid-template-columns:repeat(4,minmax(0,1fr))}.prompt-row>strong{grid-column:1/-1}}
@media(max-width:800px){.prompt-row{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-row>strong{grid-column:1/-1}}
@media(max-width:420px){.prompt-row{grid-template-columns:1fr}.prompt-row>strong{grid-column:1/-1}.prompt-row button{min-height:48px}}

@media(max-width:480px){.home-hero .home-hero-illustration{width:min(78vw,260px);right:-70px;top:95px;opacity:.34}}

/* v3.1: logo oficial Figma 135:3029 já contém o acento violeta; não duplicar pseudo-estrela. */
.brand:before{content:none!important;display:none!important}
.brand{padding-left:10px}
.brand img{width:139px;max-width:100%;height:auto;max-height:none}
/* Restaurar a escala compacta dos atalhos (somente funcionalidade foi alterada). */
.prompt-row{display:grid;grid-template-columns:118px repeat(4,minmax(0,1fr));gap:9px;align-items:center;max-width:990px;margin-top:21px}
.prompt-row>strong{grid-column:auto;display:block;font-size:10px;font-weight:700;line-height:1.35;letter-spacing:.09em;white-space:nowrap;color:#71717f}
.prompt-row button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;width:100%;min-height:43px;height:auto;padding:8px 9px;border:1px solid #e6e1f2;border-radius:999px;background:#fff;box-shadow:none;color:#45435a;font:500 12px/1.35 Inter,system-ui,sans-serif;text-align:center;white-space:normal;transform:none}
.prompt-row button .nexo-icon{flex:0 0 17px;width:17px;height:17px;margin:0}
.prompt-row button span{min-width:0;font-size:12px;line-height:1.35;font-weight:500;word-break:normal;overflow-wrap:normal;hyphens:none}
.prompt-row button:hover{background:#f8f5ff;border-color:#d8caf4;box-shadow:none}
@media(max-width:1220px){.prompt-row{grid-template-columns:repeat(4,minmax(0,1fr))}.prompt-row>strong{grid-column:1/-1}}
@media(max-width:760px){.prompt-row{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-row>strong{grid-column:1/-1}}
@media(max-width:420px){.prompt-row{grid-template-columns:1fr 1fr;gap:7px}.prompt-row button{min-height:44px;padding:8px 6px;font-size:12px}.prompt-row button .nexo-icon{flex-basis:16px;width:16px;height:16px}}
@media(max-width:350px){.prompt-row{grid-template-columns:1fr}}

/* v3.1.2: mobile initial viewport / avoid headline clipping below sticky topbar */
@media(max-width:600px){
 .home-hero{padding-top:clamp(24px,6vw,38px)}
 .home-hero .welcome{margin-bottom:14px}
 .home-hero h1{margin-top:0;overflow-wrap:normal;word-break:normal}
 .home-hero .home-hero-illustration{pointer-events:none}
}

/* V3.1.6 — catálogo demonstrativo de UCs e insights locais */
.nexo-overview{max-width:1200px;margin:0 auto;padding-bottom:44px}.overview-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:26px 0}.overview-metrics article,.overview-panel{background:#fff;border:1px solid #E5E7EB;border-radius:16px;padding:23px}.overview-metrics small{display:block;color:#667085;font-size:11px;font-weight:700;letter-spacing:.06em}.overview-metrics strong{display:block;font-size:36px;line-height:1.25;color:#202020;margin:9px 0}.overview-metrics span,.overview-note,.overview-panel>p{color:#667085;font-size:14px;line-height:1.55}.overview-panel{margin:18px 0}.overview-panel h2{font-size:20px;margin:0 0 15px}.overview-panel label{display:block;color:#344054;font-size:13px;font-weight:600}.overview-panel input{display:block;width:100%;margin-top:8px;padding:12px 14px;border:1px solid #D0D5DD;border-radius:10px;font:inherit;background:#fff;color:#202020}.overview-panel input:focus-visible{outline:3px solid #9E77ED;outline-offset:2px}.uc-list{margin-top:16px}.uc-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #EAECF0;padding:16px 0}.uc-entry h3{font-size:16px;margin:0 0 5px}.uc-entry p{font-size:13px;line-height:1.5;margin:0;color:#667085}.uc-entry .btn{flex-shrink:0}.uc-tag{display:inline-block;padding:7px 11px;background:#F9F5FF;border:1px solid #E9D7FE;border-radius:20px;margin:5px;font-size:13px;color:#5331A6}.overview-status{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #EAECF0;padding:14px 0;font-size:14px}.overview-status b{color:#6941C6}.nexo-overview [hidden]{display:none!important}@media(max-width:600px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.overview-metrics article,.overview-panel{padding:16px}.overview-metrics strong{font-size:29px}.uc-entry{align-items:flex-start;flex-direction:column;gap:10px}.uc-entry .btn{width:100%}}
