
/* ============================================================================
   EXPLICANDO COMO PARA UMA CRIANÇA: o que é este arquivo?
   ============================================================================
   Se o index.html é o esqueleto e o app.js é o cérebro, o styles.css é a ROUPA:
   cores, letras, tamanhos, cantos arredondados, espaços e como tudo se arruma
   em telas de tamanhos diferentes.
   Como se lê uma regra de CSS:
       .btn { background: vinho; }
       "para todo elemento com a etiqueta (classe) btn, pinte o fundo de vinho".
   Três ideias que aparecem o tempo todo aqui:
   1. VARIÁVEIS (--alguma-coisa): como potes de tinta com nome. Em vez de escrever
      a cor #7A0B3C em 50 lugares, escrevemos var(--accent). Para criar o tema
      escuro, basta trocar a tinta dos potes; o resto do site muda sozinho.
   2. @media: "só vale se...". Ex.: @media (max-width:700px) = só em telas de até
      700 pixels de largura (celular). É assim que o site se adapta a cada aparelho.
   3. A ORDEM IMPORTA: se duas regras falam da mesma coisa, a que vem depois (ou a
      mais específica) ganha. Por isso o arquivo foi crescendo em camadas: a base no
      começo e os ajustes (identidade, cantos, vidro, telas grandes) mais para o fim. */
/* Identidade Osmo (osmo.com.br): vinho #7A0B3C, vinho profundo #610930, rosa #FFB6C1, DIN Pro, cantos retos.
   Layout: topo vinho fixo + coluna de até 1180px; hero em faixa vinho com vinheta radial, como no site. */
/* OS POTES DE TINTA (tema claro): cores da marca (vinho, rosa, laranja), cores do
   fundo, do texto, das linhas, cores de aviso, as fontes e alguns tamanhos
   (--fs = tamanho da letra, --lh = altura da linha, --r = arredondado dos cantos). */
:root{
  --brand:#7A0B3C; --brand-deep:#610930; --pink:#FF7597; --on-brand:#FFFFFF;
  --orange:#EA580C; --orange-ink:#2B0714; --orange-soft:#FFEDD5; --hi:#C2410C;
  --bg:#F8F6F9; --surface:#FFFFFF; --sunken:#F2EBF0; --line:#D8BDCF;
  --fg:#14050D; --muted:#523A47; --accent:#850B42; --accent-ink:#FFFFFF; --accent-soft:#FCE7F1;
  --sun:#D97706; --sun-soft:#FEF3C7; --plum:#6B0A38; --plum-soft:#FCE4EC; --coral:#BE123C; --coral-soft:#FFE4E6;
  --ok:#15803D; --warn:#92400E; /* contraste nítido e acessível: mínimo de 4,5:1 (WCAG AA/AAA) */
  --f-display:"DIN Pro", "Barlow", "DIN Alternate", "Helvetica Neue", system-ui, sans-serif;
  --f-body:"DIN Pro", "Barlow", "DIN Alternate", "Helvetica Neue", system-ui, sans-serif;
  --f-mono:"DIN Pro", "Barlow", "DIN Alternate", system-ui, sans-serif;
  --fs:16.5px; --lh:1.6; --r:16px; --gap:20px;
  color-scheme:light;
}
/* TEMA ESCURO: troca a tinta dos potes. Vale em dois casos:
   - o sistema do aparelho está no escuro e a pessoa não forçou o claro;
   - a pessoa escolheu "escuro" (data-theme="dark", logo abaixo). */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#170810; --surface:#22101A; --sunken:#12060C; --line:#3A1E2B;
  --orange-soft:#3F1E0C; --hi:#FF9A55; --fg:#F6E9EE; --muted:#B99AA7; --accent:#FFB6C1; --accent-ink:#3A0A1F; --accent-soft:#43142A;
  --sun:#E5B456; --sun-soft:#3A2F17; --plum:#F2A7BE; --plum-soft:#3D1426; --coral:#E58C77; --coral-soft:#3D2420;
  --ok:#6FCB8E; --warn:#E5B456; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#170810; --surface:#22101A; --sunken:#12060C; --line:#3A1E2B;
  --orange-soft:#3F1E0C; --hi:#FF9A55; --fg:#F6E9EE; --muted:#B99AA7; --accent:#FFB6C1; --accent-ink:#3A0A1F; --accent-soft:#43142A;
  --sun:#E5B456; --sun-soft:#3A2F17; --plum:#F2A7BE; --plum-soft:#3D1426; --coral:#E58C77; --coral-soft:#3D2420;
  --ok:#6FCB8E; --warn:#E5B456; color-scheme:dark}

/* PREFERÊNCIAS DE CONFORTO (ligadas pelo theme.js/app.js como classes no <html>):
   - big: letra maior; airy: mais espaço entre linhas;
   - calm: desliga TODAS as animações (também desligamos se o sistema pede "reduzir movimento"). */
html.big{--fs:18.5px}
html.airy{--lh:1.85; --gap:28px}
html.calm *{animation:none!important; transition:none!important}
@media (prefers-reduced-motion: reduce){*{animation:none!important; transition:none!important}}

/* BASE: box-sizing faz a largura de uma caixa já incluir a borda e o recheio (fica mais fácil
   fazer as contas). Depois vêm o corpo da página, os títulos, os links e a moldura de foco:
   o contorno que aparece quando você navega pelo TECLADO, para saber onde está. */
*{box-sizing:border-box}
body{margin:0; background:var(--bg); color:var(--fg); font-family:var(--f-body); font-size:var(--fs); line-height:var(--lh)}
body::before{content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top,0px); z-index:30; background:var(--surface)}
h1,h2,h3,h4{font-family:var(--f-display); line-height:1.15; margin:0; text-wrap:balance; letter-spacing:-.01em}
h1{font-size:clamp(2rem,5vw,3.4rem); font-weight:700}
h2{font-size:clamp(1.4rem,3vw,1.9rem); font-weight:700}
h3{font-size:1.15rem; font-weight:700}
p{margin:0}
a{color:var(--accent)}
button,input,select,textarea{font:inherit; color:inherit}
:focus-visible{outline:3px solid var(--sun); outline-offset:2px; border-radius:6px}
.wrap{max-width:1180px; margin:0 auto; padding-left:max(16px,env(safe-area-inset-left,0px)); padding-right:max(16px,env(safe-area-inset-right,0px))}
.muted{color:var(--muted)}
.mono{font-family:var(--f-mono); font-variant-numeric:tabular-nums}
.label{font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:700}
.stack{display:flex; flex-direction:column; gap:var(--gap)}
.row{display:flex; gap:12px; flex-wrap:wrap; align-items:center}

/* DAQUI ATÉ A IDENTIDADE OSMO: o desenho básico de cada parte do site (topo, botões, chips,
   painéis, início, listas, vaga, talentos, proposta, mensagens, contratos, publicar). */
/* topo */
.top{position:sticky; top:env(safe-area-inset-top,0px); z-index:20; background:var(--surface); border-bottom:1px solid var(--line)}
.top .wrap{display:flex; align-items:center; gap:18px; min-height:64px; flex-wrap:wrap; padding-block:8px}
.brand{display:flex; align-items:center; gap:10px; font-family:var(--f-display); font-weight:800; font-size:1.2rem; text-decoration:none; color:var(--fg); background:none; border:0; cursor:pointer; padding:0}
.brand-mark{width:30px; height:30px; border-radius:50%; background:var(--accent); position:relative}
.brand-mark::after{content:""; position:absolute; inset:8px; border-radius:50%; background:var(--surface)}
.nav{display:flex; gap:8px; flex-wrap:wrap; flex:1}
.nav :is(button,a){background:none; border:0; padding:8px 12px; border-radius:8px; cursor:pointer; color:var(--muted); font-weight:700}
.nav :is(button,a):hover{background:var(--sunken); color:var(--fg)}
.nav :is(button,a)[aria-current="page"]{color:var(--fg); background:var(--accent-soft)}
.top-actions{display:flex; gap:8px; align-items:center}
.top-tools{display:flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:0 4px 14px rgb(0 0 0 / .08)}
.top-tool{position:relative; width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; flex:none; border:0; border-radius:12px; background:transparent; color:var(--muted); cursor:pointer; transition:background-color .16s ease,color .16s ease,transform .16s ease}
.top-tool:hover{background:var(--sunken); color:var(--fg)}
.top-tool:active{transform:scale(.94)}
.top-tool[aria-current="page"]{background:var(--accent-soft); color:var(--accent)}
.top-tool svg{width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.top-tool .badge{position:absolute; top:1px; right:1px; margin:0; min-width:17px; height:17px; padding:0 4px; font-size:.65rem; line-height:17px}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 18px; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); cursor:pointer; font-weight:700; text-decoration:none; color:var(--fg); white-space:nowrap; transition:transform .12s ease-out, filter .15s ease, background-color .2s ease; -webkit-tap-highlight-color:transparent}
.btn:hover{border-color:var(--fg)}
.btn:active{transform:scale(.96)}
.btn.btn-success{background:#1B7A43!important; border-color:#1B7A43!important; color:#fff!important; pointer-events:none}
.btn.btn-success svg.check-icon{stroke-dasharray:20; stroke-dashoffset:20; animation:checkDraw .3s ease-out forwards .05s}
@keyframes checkDraw{to{stroke-dashoffset:0}}
.btn.primary{background:var(--accent); color:var(--accent-ink); border-color:var(--accent)}
.btn.primary:hover{filter:brightness(1.08)}
.btn.ghost{border-color:transparent; background:none}
.btn.sm{padding:6px 12px; font-size:.9rem}
.btn[disabled]{opacity:.45; cursor:not-allowed}

.chip{display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; font-size:.82rem; font-weight:700; background:var(--sunken); color:var(--fg); white-space:nowrap}
.chip.accent{background:var(--accent-soft); color:var(--accent)}
.chip.sun{background:var(--sun-soft); color:var(--warn)}
.chip.plum{background:var(--plum-soft); color:var(--plum)}
.chip.coral{background:var(--coral-soft); color:var(--coral)}
.dot{width:8px; height:8px; border-radius:50%; background:currentColor; display:inline-block}

.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:22px}
.sunk{background:var(--sunken); border-radius:var(--r); padding:18px}

main{padding-block:14px 80px}
@media (max-width:700px){
  main{padding-block:10px 60px}
}

/* início */
.hero{display:grid; grid-template-columns:1.25fr 1fr; gap:40px; align-items:center; padding-block:24px 40px}
.hero h1 em{font-style:normal; color:var(--accent)}
.hero p.lead{font-size:1.18rem; color:var(--muted); max-width:52ch; margin-top:16px}
.search{display:flex; gap:8px; margin-top:28px; background:var(--surface); border:1.5px solid var(--line); border-radius:999px; padding:6px 6px 6px 20px; max-width:560px}
.search input{flex:1; border:0; background:none; outline:none; min-width:0}
.seg{display:inline-flex; background:var(--sunken); border-radius:999px; padding:4px; gap:2px; margin-top:20px}
.seg button{border:0; background:none; padding:6px 14px; border-radius:999px; cursor:pointer; font-weight:700; color:var(--muted)}
.seg button[aria-pressed="true"]{background:var(--surface); color:var(--fg); box-shadow:0 1px 2px rgb(0 0 0 / .08)}
.wcard{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px; display:flex; flex-direction:column; gap:14px}
.wcard .grid2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.pref{background:var(--sunken); border-radius:10px; padding:10px 12px}
.pref b{display:block; font-size:.95rem}
.pref span{font-size:.8rem; color:var(--muted)}
.cats{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.cat{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px; cursor:pointer; text-align:left; display:flex; flex-direction:column; gap:4px}
.cat:hover{border-color:var(--accent)}
.cat b{font-family:var(--f-display); font-size:1.05rem}
.cat-ico{width:40px; height:40px; border-radius:12px; display:grid; place-items:center; margin-bottom:8px; color:var(--accent); background:var(--accent-soft); transition:background .2s ease, color .2s ease}
.cat-ico svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.cat:hover .cat-ico,.cat:focus-visible .cat-ico{background:var(--accent); color:var(--accent-ink)}
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); counter-reset:s}
.step{counter-increment:s; display:flex; flex-direction:column; gap:8px}
.step::before{content:counter(s); font-family:var(--f-mono); font-weight:600; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent)}
.principles{display:grid; grid-template-columns:repeat(2,1fr); gap:var(--gap)}
.home-cta{margin-top:56px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap}
.principle{border-top:2px solid var(--fg); padding-top:14px; display:flex; flex-direction:column; gap:6px}

/* listas */
.layout{display:grid; grid-template-columns:260px 1fr; gap:28px; align-items:start}
html.focus .layout{grid-template-columns:1fr}
html.focus .filters{position:static; top:auto}
html.focus .side-extra{display:none}
.filters{position:sticky; top:calc(env(safe-area-inset-top,0px) + 84px); display:flex; flex-direction:column; gap:18px}
.field{display:flex; flex-direction:column; gap:6px}
.field label,.field .flabel{font-weight:700; font-size:.92rem}
.input,select.input,textarea.input{width:100%; padding:10px 12px; border-radius:8px; border:1.5px solid var(--line); background:var(--surface)}
textarea.input{min-height:120px; resize:vertical}
.input:focus{border-color:var(--accent); outline:none}
.input:focus-visible{outline:2px solid var(--orange); outline-offset:1px}
.check{display:flex; gap:10px; align-items:flex-start; cursor:pointer}
.check input{margin-top:5px; accent-color:var(--accent); width:17px; height:17px}
.hint{font-size:.85rem; color:var(--muted)}
.list{display:flex; flex-direction:column; gap:14px; min-width:0}
.job{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:20px 22px; display:grid; grid-template-columns:1fr auto; gap:10px 24px; cursor:pointer; text-align:left; width:100%}
.job:hover{border-color:var(--accent)}
.job h3{font-size:1.15rem}
.job .meta{grid-column:1 / -1; display:flex; gap:8px; flex-wrap:wrap}
.job .price{text-align:right}
.job .price b{font-family:var(--f-mono); font-size:1.05rem; display:block}
.clarity{display:flex; align-items:center; gap:8px; font-size:.85rem; font-weight:700}
/* anel de clareza: 9 pedaços, um por item do briefing; aceso = preenchido */
.cmark{flex:none; transform:rotate(-90deg)}
.cmark circle{fill:none; stroke:var(--line); stroke-width:3.4; transition:stroke .25s ease}
.cmark circle.on{stroke:var(--accent)}
.bar{height:6px; background:var(--sunken); border-radius:99px; overflow:hidden; width:70px}
.bar i{display:block; height:100%; background:var(--accent); border-radius:99px; transition:width .35s cubic-bezier(.16,1,.3,1), background-color .3s ease}
.bar.mid i{background:var(--sun)}
.bar.low i{background:var(--coral)}
.bar.ready i{background:var(--accent); box-shadow:0 0 10px rgb(122 11 60 / .28)}
.listhead{display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap}

/* detalhe */
.detail{display:grid; grid-template-columns:1fr 320px; gap:28px; align-items:start}
html.focus .detail{grid-template-columns:1fr}
.brief{display:flex; flex-direction:column; gap:0}
.brief section{display:grid; grid-template-columns:180px 1fr; gap:18px; padding-block:18px; border-top:1px solid var(--line)}
.brief section:first-child{border-top:0; padding-top:0}
.brief ul{margin:0; padding-left:20px; display:flex; flex-direction:column; gap:4px}
.kv{display:flex; justify-content:space-between; gap:12px; padding-block:8px; border-bottom:1px dashed var(--line)}
.kv:last-child{border-bottom:0}
.back{background:none; border:0; color:var(--muted); cursor:pointer; padding:0; font-weight:700; margin-bottom:14px}
.back:hover{color:var(--fg)}

/* talentos */
.tgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:16px}
.talent{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:20px; display:flex; flex-direction:column; gap:12px; cursor:pointer; text-align:left}
.talent:hover{border-color:var(--accent)}
.thow{margin:0; display:flex; flex-direction:column; gap:10px; padding:12px 14px; background:var(--sunken); border-radius:12px}
.thow dt{display:block; margin-bottom:2px}
.thow dd{margin:0; font-size:.95rem; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.talent .tfoot{margin-top:auto; gap:14px; flex-wrap:wrap}
.av{width:52px; height:52px; border-radius:50%; display:grid; place-items:center; font-family:var(--f-display); font-weight:800; flex:none}
.av.lg{width:92px; height:92px; font-size:2rem}
.av.sm{width:36px; height:36px; font-size:.85rem}
.av.c0{background:var(--accent-soft); color:var(--accent)} .av.c1{background:var(--plum-soft); color:var(--plum)}
.av.c2{background:var(--sun-soft); color:var(--warn)} .av.c3{background:var(--coral-soft); color:var(--coral)}
.prof-head{display:flex; gap:22px; align-items:center; flex-wrap:wrap}
img.av{object-fit:cover; background:var(--sunken)}
.avatar-edit{display:flex; gap:20px; align-items:center; flex-wrap:wrap}
.avatar-edit label.btn{cursor:pointer}
.avatar-edit label:has(+ input:focus-visible){outline:3px solid var(--accent); outline-offset:2px}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
.skip-link:focus-visible{position:fixed; top:10px; left:10px; width:auto; height:auto; padding:10px 16px; margin:0; overflow:visible; clip:auto; white-space:nowrap; z-index:100; background:var(--orange); color:var(--orange-ink); font-weight:700; border-radius:999px; text-decoration:none; box-shadow:0 4px 14px rgb(0 0 0 / .35)}
.howgrid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.how{background:var(--sunken); border-radius:10px; padding:14px 16px}
.how .label{display:block; margin-bottom:4px}
.port{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.ptile{aspect-ratio:4/3; max-width:100%; border-radius:10px; padding:12px; display:flex; align-items:flex-end; font-family:var(--f-display); font-weight:700; color:var(--fg)}
.ptile.t0{background:linear-gradient(140deg,var(--accent-soft),var(--sunken))}
.ptile.t1{background:linear-gradient(140deg,var(--plum-soft),var(--sunken))}
.ptile.t2{background:linear-gradient(140deg,var(--sun-soft),var(--sunken))}
.review{border-top:1px solid var(--line); padding-top:14px; display:flex; flex-direction:column; gap:6px}
.avail{display:flex; gap:3px}
.avail i{width:14px; height:22px; border-radius:3px; background:var(--sunken)}
.avail i.on{background:var(--accent)}

/* wizard */
.wiz{max-width:760px; margin:0 auto}
.progress{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-block:18px 28px}
.progress div{display:flex; flex-direction:column; gap:6px; font-size:.85rem; font-weight:700; color:var(--muted)}
.progress div::before{content:""; height:6px; border-radius:99px; background:var(--sunken)}
.progress div.done::before,.progress div.cur::before{background:var(--accent)}
.progress div.cur{color:var(--fg)}
.wiz-foot{display:flex; justify-content:space-between; gap:12px; margin-top:28px; flex-wrap:wrap}
.prompt{border-left:3px solid var(--accent); padding:4px 0 4px 14px}
.calc{display:grid; grid-template-columns:1fr auto; gap:6px 18px}
.calc .tot{font-weight:700; border-top:1px solid var(--line); padding-top:8px}
.saved{font-size:.85rem; color:var(--ok); font-weight:700}

/* mensagens */
.msgs{display:grid; grid-template-columns:300px 1fr; gap:0; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--surface); min-height:560px}
.threads{border-right:1px solid var(--line); display:flex; flex-direction:column}
.thread{display:flex; gap:12px; padding:14px 16px; border:0; border-bottom:1px solid var(--line); background:none; text-align:left; cursor:pointer; width:100%}
.thread[aria-current="true"]{background:var(--accent-soft)}
.thread .tx{min-width:0; flex:1}
.thread .tx p{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:.88rem; color:var(--muted)}
.convo{display:flex; flex-direction:column; min-width:0}
.convo-head{padding:14px 20px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap}
.pin{margin:14px 20px 0; background:var(--sun-soft); border-radius:10px; padding:12px 14px; font-size:.92rem}
.pin b{color:var(--warn)}
.bubbles{flex:1; padding:18px 20px; display:flex; flex-direction:column; gap:12px; overflow-y:auto}
.bub{max-width:72%; padding:10px 14px; border-radius:14px; background:var(--sunken)}
.bub>span{display:block; white-space:pre-wrap; overflow-wrap:anywhere}
.bub.me{align-self:flex-end; background:var(--accent); color:var(--accent-ink)}
.bub small{display:block; opacity:.7; font-size:.75rem; margin-top:4px}
.compose{border-top:1px solid var(--line); padding:12px 16px; display:flex; flex-direction:column; gap:10px}
.compose>.row{align-items:flex-end}
textarea.input.msg-in{min-height:44px; max-height:140px; padding:10px 14px; resize:none; overflow-y:auto; line-height:1.4}
.quick{display:flex; gap:6px; flex-wrap:wrap}
.quick button{border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:4px 12px; cursor:pointer; font-size:.85rem}
.quick button:hover{border-color:var(--accent)}

/* contratos */
.stats{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.stat b{font-family:var(--f-mono); font-size:1.6rem; display:block}
.ms{display:grid; grid-template-columns:24px 1fr auto; gap:12px; align-items:start; padding-block:12px; border-top:1px solid var(--line)}
.ms .st{width:20px; height:20px; border-radius:50%; border:2px solid var(--line); margin-top:3px}
.ms .st.done{background:var(--accent); border-color:var(--accent)}
.ms .st.now{border-color:var(--sun); background:var(--sun-soft)}
.energy{display:flex; gap:6px}
.energy button{border:1.5px solid var(--line); background:var(--surface); border-radius:10px; padding:8px 12px; cursor:pointer; font-weight:700; flex:1}
.energy button[aria-pressed="true"]{border-color:var(--accent); background:var(--accent-soft); color:var(--accent)}

/* publicar */
.meter{position:sticky; top:calc(env(safe-area-inset-top,0px) + 84px)}
.meter .big{font-family:var(--f-mono); font-size:2.6rem; font-weight:600; transition:color .2s ease}
.meter ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; font-size:.92rem}
.meter li{transition:color .2s ease, transform .2s ease}
.meter li.ok{color:var(--fg); font-weight:600; transform:translateX(2px)}
.meter li::before{display:inline-block; transition:transform .22s cubic-bezier(.34,1.56,.64,1); content:"○ "; color:var(--muted)}
.meter li.ok::before{content:"● "; color:var(--accent); transform:scale(1.2)}

/* acessibilidade */
.drawer{position:fixed; right:0; top:0; bottom:0; width:min(380px,100%); background:var(--surface); border-left:1px solid var(--line); z-index:40; padding:calc(24px + env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) 24px; display:flex; flex-direction:column; gap:18px; overflow-y:auto; box-shadow:-20px 0 40px rgb(0 0 0 / .12)}
.scrim{position:fixed; inset:0; background:rgb(10 20 20 / .35); z-index:35}
.toggle{display:flex; justify-content:space-between; gap:14px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line)}
.sw{appearance:none; width:44px; height:26px; border-radius:99px; background:var(--line); position:relative; cursor:pointer; flex:none}
.sw::after{content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:var(--surface); transition:left .15s}
.sw:checked{background:var(--accent)}
.sw:checked::after{left:21px}
.toast{position:fixed; left:50%; transform:translateX(-50%); bottom:calc(24px + env(safe-area-inset-bottom,0px)); background:var(--fg); color:var(--bg); padding:10px 18px; border-radius:999px; font-weight:700; z-index:50}
.proto{background:var(--sun-soft); color:var(--warn); font-size:.82rem; text-align:center; padding-block:6px; font-weight:700}

/* "minmax(0, ...)" impede que um texto comprido estique a coluna e faça a página ganhar
   rolagem para o lado (um defeito comum no celular). */
/* grades nunca empurram a página para os lados */
.hero{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.layout{grid-template-columns:260px minmax(0,1fr)}
.detail{grid-template-columns:minmax(0,1fr) 320px}
.hero>*,.layout>*,.detail>*,.msgs>*{min-width:0}
.search button{flex:none}
.only-m{display:none}
.fbox>summary{display:none}
.fbox>summary::-webkit-details-marker{display:none}

/* TELAS MENORES: até 900 px (tablet pequeno), até 700 px (celular), até 600 px e até 360 px
   (celulares bem estreitos). Em cada degrau, as colunas viram uma só, as letras e espaços
   diminuem um pouco e algumas coisas mudam de lugar. */
@media (max-width:900px){
  .hero,.detail,.layout{grid-template-columns:minmax(0,1fr)}
  .filters,.meter{position:static}
  .cats{grid-template-columns:repeat(2,1fr)}
  .steps,.principles{grid-template-columns:1fr}
  .msgs{grid-template-columns:1fr}
  .threads{border-right:0; border-bottom:1px solid var(--line); max-height:240px; overflow-y:auto}
}
@media (max-width:700px){
  /* celular: navegação vira barra inferior, topo fica só com marca e ações */
  .nav{display:none}
  .top .wrap{min-height:56px; flex-wrap:nowrap; gap:10px}
  .brand{font-size:1.05rem; flex:1; min-width:0; white-space:nowrap; justify-content:flex-start}
  .filters.panel{padding:0}
  .convo-head .back{flex-basis:100%; text-align:left}
  .brand-mark{width:26px; height:26px}
  .brand-mark::after{inset:7px}
  .only-d{display:none}
  .only-m{display:inline}

  .hero{padding-block:8px 24px; gap:28px}
  .hero p.lead{font-size:1.05rem}
  .seg{display:flex}
  .seg button{flex:1}
  .search{padding:4px 4px 4px 14px}
  .search .btn{padding:10px 14px}

  /* filtros recolhidos */
  .filters{padding:0; gap:0}
  .fbox>summary{display:flex; justify-content:space-between; align-items:center; padding:14px 18px; cursor:pointer; font-weight:700; list-style:none}
  .fbox>summary::after{content:"Mostrar"; color:var(--accent); font-size:.9rem}
  .fbox[open]>summary::after{content:"Esconder"}
  .fbox .fbody{padding:0 18px 18px}

  /* mensagens: lista ou conversa, uma de cada vez */
  .msgs{min-height:0}
  .threads{max-height:none; border-bottom:0}
  .msgs.show-convo .threads{display:none}
  .msgs:not(.show-convo) .convo{display:none}
  .bubbles{max-height:none}
  .compose .row .btn{padding:10px 14px}

  .wiz-foot{display:grid; grid-template-columns:1fr 1fr}
  .wiz-foot .saved{grid-column:1 / -1; grid-row:1; text-align:center}
  .panel{padding:18px}
}
@media (max-width:600px){
  .brief section{grid-template-columns:1fr; gap:6px}
  .howgrid,.port,.wcard .grid2{grid-template-columns:1fr}
  .wcard .grid2{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .stats .stat:last-child{grid-column:1 / -1}
  .stat b{font-size:1.3rem}
  .job{grid-template-columns:1fr; padding:16px}
  .job .price{text-align:left}
  .progress div{font-size:0; gap:0}
  .bub{max-width:88%}
  .prof-head{gap:16px}
  .av.lg{width:72px; height:72px; font-size:1.6rem}
  .port{grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}
  .ptile{font-size:.8rem; padding:8px}
  .listhead .field{min-width:0!important; width:100%}
  .cat{padding:14px}
  .kv{font-size:.95rem}
}
@media (max-width:360px){
  .wcard .grid2,.stats{grid-template-columns:1fr}
  .top-actions .btn{padding:6px 10px}
}

/* CAMADAS DE ACABAMENTO (cada uma por cima da anterior):
   - identidade Osmo: topo vinho, faixa de boas-vindas com degradê, botões em maiúsculas;
   - laranja Osmo: o laranja aparece só nos destaques, para chamar atenção sem cansar;
   - menu hambúrguer: o menu lateral do celular e tablet;
   - cantos arredondados: arredonda botões, campos, cartões e painéis. */
/* ---------- identidade Osmo ---------- */
body::before{background:var(--brand)}
.top{background:var(--brand); border-bottom:0; color:var(--on-brand); background-image:radial-gradient(ellipse at 50% 0%, transparent 0%, rgb(0 0 0 / .18) 100%)}
.brand{color:var(--on-brand); font-weight:500; letter-spacing:.02em; gap:8px}
.brand svg{height:22px; width:auto; fill:currentColor; display:block}
.brand .sub{color:var(--pink); font-weight:500; font-size:1rem; letter-spacing:.06em; text-transform:uppercase; padding-left:8px; border-left:1px solid rgb(255 255 255 / .35); line-height:1}
/* ---------- harmonização de botões da header ---------- */
/* Navegação, ferramentas, usuário, admin e publicação compartilham altura uniforme (38px),
   silhueta pill suave (border-radius: 999px), opacidades vítreas coerentes e tipografia sem gritos de caixa alta. */
.top .wrap{gap:12px; min-height:60px}
.top-actions{gap:8px; align-items:center}

.nav :is(button,a){
  height:38px;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  background:rgb(255 255 255 / .08);
  border:1px solid rgb(255 255 255 / .16);
  color:rgb(255 255 255 / .85);
  font-weight:600;
  font-size:.88rem;
  letter-spacing:.01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  box-shadow:0 1px 2px rgb(0 0 0 / .08);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.nav :is(button,a):hover{
  background:rgb(255 255 255 / .15);
  border-color:rgb(255 255 255 / .3);
  color:#fff;
}
.nav :is(button,a)[aria-current="page"]{
  background:rgb(255 255 255 / .24);
  border-color:rgb(255 255 255 / .45);
  color:#fff;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .22),0 2px 8px rgb(0 0 0 / .16);
}

.top .top-tools{
  display:inline-flex;
  align-items:center;
  gap:2px;
  height:38px;
  padding:0 4px;
  border-radius:999px;
  background:rgb(255 255 255 / .08);
  border:1px solid rgb(255 255 255 / .16);
  box-shadow:0 1px 2px rgb(0 0 0 / .08);
  transition:border-color .16s ease;
}
.top .top-tool{
  position:relative;
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  border:0;
  border-radius:50%;
  background:transparent;
  color:rgb(255 255 255 / .78);
  cursor:pointer;
  transition:background-color .16s ease,color .16s ease,transform .16s ease;
}
.top .top-tool:hover{
  background:rgb(255 255 255 / .15);
  color:#fff;
}
.top .top-tool:active{
  transform:scale(.92);
}
.top .top-tool[aria-current="page"]{
  background:rgb(255 255 255 / .25);
  color:#fff;
}
.top .top-tool svg{
  width:17px;
  height:17px;
}
.top .top-tool .badge{
  top:-2px;
  right:-2px;
}

.top .whoami{
  height:38px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px 0 6px;
  border-radius:999px;
  background:rgb(255 255 255 / .08);
  border:1px solid rgb(255 255 255 / .16);
  color:#fff;
  font-weight:600;
  font-size:.88rem;
  cursor:pointer;
  white-space:nowrap;
  max-width:180px;
  box-shadow:0 1px 2px rgb(0 0 0 / .08);
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease;
}
.top .whoami:hover{
  background:rgb(255 255 255 / .15);
  border-color:rgb(255 255 255 / .3);
}
.top .whoami .av{
  width:26px;
  height:26px;
  font-size:.68rem;
  border:0;
  flex:none;
}
.top .whoami span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.top .btn{
  height:38px;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  font-size:.88rem;
  font-weight:600;
  text-transform:none;
  letter-spacing:.01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgb(255 255 255 / .08);
  border:1px solid rgb(255 255 255 / .16);
  color:#fff;
  box-shadow:0 1px 2px rgb(0 0 0 / .08);
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.top .btn:hover{
  background:rgb(255 255 255 / .15);
  border-color:rgb(255 255 255 / .3);
  color:#fff;
}
.top .btn[data-go="panorama"]{
  background:rgb(255 117 151 / .14);
  border-color:rgb(255 117 151 / .32);
  color:#FFB6C1;
}
.top .btn[data-go="panorama"]:hover{
  background:rgb(255 117 151 / .24);
  border-color:rgb(255 117 151 / .5);
  color:#fff;
}
.top .btn[data-go="panorama"][aria-current="page"]{
  background:rgb(255 117 151 / .32);
  border-color:#FF7597;
  color:#fff;
}

.top .btn.hl{
  height:38px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg, #EA580C 0%, #D85A16 100%);
  border:1px solid rgb(255 255 255 / .24);
  color:#FFFFFF;
  font-weight:600;
  font-size:.88rem;
  text-transform:none;
  letter-spacing:.01em;
  box-shadow:0 2px 10px rgb(234 88 12 / .35);
}
.top .btn.hl:hover{
  filter:brightness(1.08);
  box-shadow:0 4px 16px rgb(234 88 12 / .5);
  border-color:rgb(255 255 255 / .38);
  transform:translateY(-1px);
}
.top .btn.hl:active{
  transform:translateY(0) scale(.98);
}
.top .btn.primary{background:var(--pink); color:var(--brand-deep); border-color:var(--pink)}
.menu-btn{
  border-radius:50%;
  background:rgb(255 255 255 / .08);
  border:1px solid rgb(255 255 255 / .2);
}
.menu-btn:hover{
  background:rgb(255 255 255 / .15);
  border-color:rgb(255 255 255 / .35);
}
.hero{background:var(--brand); background-image:radial-gradient(ellipse at center, transparent 0%, rgb(0 0 0 / .4) 100%); color:var(--on-brand); padding:48px; margin-top:0}
.hero h1 em{color:var(--pink)}
.hero .label{color:var(--pink)}
.hero p.lead{color:rgb(255 255 255 / .82)}
.hero .seg{background:rgb(255 255 255 / .12)}
.hero .seg button{color:rgb(255 255 255 / .8)}
.hero .seg button[aria-pressed="true"]{background:#fff; color:var(--brand-deep); box-shadow:none}
.hero .search{background:#fff; border-color:#fff; color:var(--fg)}
.hero .search .btn.primary{background:var(--brand); color:#fff; border-color:var(--brand)}
.hero .wcard{color:var(--fg)}
.hero .wcard .label{color:var(--muted)}
.brand svg{flex:none}
.seg button{white-space:nowrap}
.btn,.chip,.label{letter-spacing:.03em}
.btn{font-weight:600; text-transform:uppercase; font-size:.88rem}
.btn.sm{font-size:.8rem}
h1,h2,h3{letter-spacing:0}
.principle{border-top-color:var(--accent)}
.step::before{border-radius:50%}
.bub.me{background:var(--brand); color:#fff}
@media (max-width:700px){
  .hero{padding:28px 20px; border-radius:20px}
  .brand .sub{font-size:.85rem}
  .brand svg{height:20px}
  .hero .seg button{padding:8px 10px; font-size:.95rem}
}

/* ---------- laranja Osmo: só em destaques ---------- */
:focus-visible{outline-color:var(--orange)}
.btn.hl{background:var(--orange); color:var(--orange-ink); border-color:var(--orange)}
.btn.hl:hover{filter:brightness(1.06); border-color:var(--orange)}
.hero .search .btn.hl{background:var(--orange); color:var(--orange-ink); border-color:var(--orange)}
.hero{background-color:var(--brand); background-image:radial-gradient(ellipse at center, transparent 30%, rgb(0 0 0 / .28) 100%), linear-gradient(135deg, #D85A16 0%, #A3303A 38%, #7A0B3C 72%, #610930 100%)}
.hero h1 em{color:#FFB37A}
.hero .label{color:#FFC9A3}
.step::before{background:var(--orange-soft); color:var(--hi)}
.principle{border-top:3px solid var(--orange)}
.meter .big{color:var(--hi)}
.listhead h2::after,.wiz>.label::after{content:""}
.progress div.cur::before{background:var(--orange)}
.badge-hl{background:var(--orange-soft); color:var(--hi)}

/* ---------- menu hambúrguer ---------- */
[hidden]{display:none!important}
.menu-btn{display:none; flex:none; align-items:center; justify-content:center; background:rgb(255 255 255 / .08); border:1px solid rgb(255 255 255 / .18); color:#fff; cursor:pointer; padding:0; border-radius:50%; transition:background-color .16s ease,border-color .16s ease,transform .16s ease}
.menu-btn svg,.mm-close svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round}
.mm-scrim{position:fixed; inset:0; background:rgb(20 4 12 / .55); z-index:44; opacity:0; transition:opacity .2s ease}
.mm-scrim.open{opacity:1}
.mmenu{position:fixed; top:0; right:0; bottom:0; width:min(88vw,380px); z-index:45; background:var(--surface); color:var(--fg); display:flex; flex-direction:column; overflow-y:auto; overscroll-behavior:contain;
  padding:calc(8px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) 20px;
  transform:translateX(100%); transition:transform .24s ease; box-shadow:-24px 0 48px rgb(0 0 0 / .2)}
.mmenu.open{transform:none}
.mm-head{display:flex; justify-content:space-between; align-items:center; min-height:56px; border-bottom:3px solid var(--orange)}
.mm-close{width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; background:none; border:1px solid var(--line); color:var(--fg); cursor:pointer; padding:0}
.mm-list{list-style:none; margin:8px 0 0; padding:0}
.mm-list :is(button,a){width:100%; display:flex; align-items:center; gap:14px; min-height:58px; padding:12px 10px; background:none; border:0; border-bottom:1px solid var(--line); color:var(--fg); font-size:1.1rem; font-weight:600; text-align:left; cursor:pointer}
.mm-list :is(button,a):hover{background:var(--sunken)}
.mm-list svg{width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; color:var(--muted)}
.mm-list .chev{margin-left:auto; color:var(--muted); font-size:1.4rem; line-height:1}
.mm-list :is(button,a)[aria-current="page"]{background:var(--accent-soft); color:var(--accent); box-shadow:inset 4px 0 0 var(--orange)}
.mm-list :is(button,a)[aria-current="page"] svg{color:var(--accent)}
.mm-foot{margin-top:auto; padding-top:20px; display:flex; flex-direction:column; gap:10px}
.mm-foot .btn{width:100%; min-height:50px; font-size:.95rem}
body.menu-open{overflow:hidden}
/* ==========================================================================
   PERSONALIZAÇÃO RESPONSIVA DO CABEÇALHO (CELULAR E TABLET)
   ========================================================================== */

/* ---------- 1. CELULAR (MOBILE <= 700px) ---------- */
@media (max-width:700px){
  .nav{display:none!important}
  .top-tools{display:none!important}
  .whoami{display:none!important}
  .only-d{display:none!important}
  .top-actions [data-go="entrar"]{display:none!important}
  
  .top{position:sticky; top:0; z-index:20; min-height:56px}
  .top .wrap{
    min-height:56px;
    padding:0 max(14px,env(safe-area-inset-right,0px)) 0 max(14px,env(safe-area-inset-left,0px));
    flex-wrap:nowrap;
    gap:8px;
    justify-content:space-between;
  }
  .brand{
    font-size:1.05rem;
    flex:1;
    min-width:0;
    white-space:nowrap;
    justify-content:flex-start;
    gap:8px;
  }
  .brand svg{height:20px; flex:none}
  .brand .sub{font-size:.82rem; padding-left:6px}

  .top-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:none;
  }
  /* Botão Publicar no mobile: altura uniforme de 38px, alinhado ao botão de menu */
  .top .btn.hl{
    height:38px;
    min-height:38px;
    padding:0 14px;
    font-size:.82rem;
    font-weight:600;
    border-radius:999px;
    letter-spacing:0;
    box-shadow:0 2px 8px rgb(234 88 12 / .3);
  }
  /* Botão de Menu Hambúrguer: exatamente a mesma altura (38px) e acabamento translúcido */
  .menu-btn{
    display:inline-flex;
    width:38px;
    height:38px;
    min-height:38px;
    border-radius:50%;
    border:1px solid rgb(255 255 255 / .2);
    background:rgb(255 255 255 / .08);
    color:#fff;
    padding:0;
    flex:none;
    align-items:center;
    justify-content:center;
    position:relative;
    -webkit-tap-highlight-color:transparent;
    box-shadow:0 1px 2px rgb(0 0 0 / .08);
  }
  .menu-btn:hover,.menu-btn:active{
    background:rgb(255 255 255 / .16);
    border-color:rgb(255 255 255 / .35);
  }
  .menu-btn svg{width:20px; height:20px}
  .menu-btn .badge{
    position:absolute;
    top:-2px;
    right:-2px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    font-size:.62rem;
    line-height:16px;
    border-radius:999px;
    background:var(--orange);
    color:#fff;
    border:2px solid var(--brand);
  }
}

/* Telas de celular bem pequenas (ex: iPhone SE / 360px ou menos) */
@media (max-width:360px){
  .top .wrap{padding-inline:10px; gap:6px}
  .brand .sub{display:none}
  .top .btn.hl{padding:0 10px; font-size:.78rem}
  .menu-btn{width:36px; height:36px; min-height:36px}
}

/* ---------- 2. TABLET (701px até 1080px) ---------- */
@media (min-width:701px) and (max-width:1080px){
  /* Tablet tem tela ampla: SEM barra inferior flutuante! O rodapé fica limpo */
  .tabbar,.mcta{display:none!important}
  body{padding-bottom:0!important}

  .top{min-height:58px}
  .top .wrap{
    min-height:58px;
    padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px));
    flex-wrap:nowrap;
    gap:10px;
    justify-content:space-between;
  }
  .brand{font-size:1.1rem; flex:none; gap:8px}
  .brand svg{height:21px}
  .brand .sub{font-size:.86rem; padding-left:8px}

  /* Navegação ativa e enxuta no topo do tablet */
  .nav{display:flex!important; align-items:center; gap:6px; flex:none}
  .nav-long{display:none!important}
  .nav-short{display:inline!important}
  .nav :is(button,a){
    height:36px;
    min-height:36px;
    padding:0 13px;
    font-size:.84rem;
    font-weight:600;
    border-radius:999px;
    background:rgb(255 255 255 / .08);
    border:1px solid rgb(255 255 255 / .16);
    color:rgb(255 255 255 / .85);
  }
  .nav :is(button,a):hover{
    background:rgb(255 255 255 / .15);
    border-color:rgb(255 255 255 / .3);
    color:#fff;
  }
  .nav :is(button,a)[aria-current="page"]{
    background:rgb(255 255 255 / .24);
    border-color:rgb(255 255 255 / .45);
    color:#fff;
  }

  /* Ações à direita no tablet */
  .top-actions{display:flex!important; align-items:center; gap:6px; flex:none}

  /* Ferramentas / Acessos rápidos compactos */
  .top .top-tools{
    display:inline-flex!important;
    height:36px;
    padding:0 3px;
    gap:2px;
    border-radius:999px;
    background:rgb(255 255 255 / .08);
    border:1px solid rgb(255 255 255 / .16);
  }
  .top .top-tool{
    width:28px;
    height:28px;
    border-radius:50%;
  }
  .top .top-tool svg{width:16px; height:16px}

  /* Chip do usuário compacto */
  .top .whoami{
    display:inline-flex!important;
    height:36px;
    padding:0 11px 0 5px;
    font-size:.84rem;
    gap:6px;
    border-radius:999px;
    background:rgb(255 255 255 / .08);
    border:1px solid rgb(255 255 255 / .16);
    color:#fff;
  }
  .top .whoami .av{
    width:24px;
    height:24px;
    font-size:.65rem;
  }

  /* Botão Admin no tablet */
  .top .btn[data-go="panorama"]{
    display:inline-flex!important;
    height:36px;
    min-height:36px;
    padding:0 11px;
    font-size:.82rem;
    border-radius:999px;
  }

  /* Botão Publicar no tablet */
  .top .btn.hl{
    height:36px;
    min-height:36px;
    padding:0 14px;
    font-size:.84rem;
    border-radius:999px;
  }

  /* Menu auxiliar no tablet: botão redondo discreto de 36px */
  .menu-btn{
    display:inline-flex;
    width:36px;
    height:36px;
    min-height:36px;
    border-radius:50%;
    border:1px solid rgb(255 255 255 / .16);
    background:rgb(255 255 255 / .08);
    color:#fff;
    align-items:center;
    justify-content:center;
    padding:0;
    flex:none;
    position:relative;
  }
  .menu-btn svg{width:18px; height:18px}
  .menu-btn .badge{
    position:absolute;
    top:-2px;
    right:-2px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    font-size:.62rem;
    line-height:16px;
    border-radius:999px;
    background:var(--orange);
    color:#fff;
    border:2px solid var(--brand);
  }
}

/* Tablet em largura mais estreita (701px a 820px): otimiza espaço ocultando o texto no chip do usuário */
@media (min-width:701px) and (max-width:820px){
  .top .whoami{padding:0 5px}
  .top .whoami span{display:none}
  .top-actions .only-d{display:none}
}

/* ---------- 3. DESKTOP (> 1080px) ---------- */
@media (min-width:1081px){
  .menu-btn{display:none!important}
  .nav-long{display:inline}
  .nav-short{display:none}
}

/* ---------- cantos arredondados ---------- */
.hero{border-radius:28px; overflow:hidden}
.wcard{border-radius:20px}
.pref,.how,.sunk,.pin{border-radius:12px}
.input,select.input,textarea.input{border-radius:12px}
.search{border-radius:999px}
.seg,.seg button{border-radius:999px}
.btn,.chip,.quick button{border-radius:999px}
.bub{border-radius:18px}
.bub:not(.me){border-bottom-left-radius:6px}
.bub.me{border-bottom-right-radius:6px}
.msgs{border-radius:var(--r)}
.thread{border-radius:0}
.energy button{border-radius:12px}
.ptile{border-radius:14px}
.bar,.bar i{border-radius:99px}
.avail i{border-radius:4px}
.toast{border-radius:999px}
.nav :is(button,a){border-radius:999px}
.nav :is(button,a)[aria-current="page"]{box-shadow:none; background:rgb(255 255 255 / .16); outline:2px solid var(--orange); outline-offset:-2px}
.mm-close{border-radius:12px}
.mmenu{border-radius:24px 0 0 24px}
.mm-list{display:flex; flex-direction:column; gap:4px}
.mm-list :is(button,a){border-radius:14px; border-bottom:0}
.mm-list :is(button,a)[aria-current="page"]{box-shadow:inset 4px 0 0 var(--orange)}
.mm-head{border-bottom:0; margin-bottom:4px}
.drawer{border-radius:24px 0 0 24px}
.progress div::before{border-radius:99px}
.ms .st{border-radius:50%}
:focus-visible{border-radius:10px}

/* PEÇAS DO APP: contador de não lidas (badge), etiquetas de situação (status), tela de entrar,
   mensagens de erro, caixas vazias, linhas de etapas e o rodapé. */
/* ---------- app real ---------- */
.badge{display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:var(--orange); color:var(--orange-ink); font-size:.75rem; font-weight:700; margin-left:6px; font-family:var(--f-body)}
.status{display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; font-size:.8rem; font-weight:700; background:var(--sunken); color:var(--muted)}
.status.ok{background:var(--accent-soft); color:var(--accent)}
.status.wait{background:var(--sun-soft); color:var(--warn)}
.status.hi{background:var(--orange-soft); color:var(--hi)}
.status.off{background:var(--sunken); color:var(--muted)}
.auth{max-width:460px; margin:0 auto}
.auth .seg{display:flex; margin:0 0 18px}
.auth .seg button{flex:1}
.link-btn{align-self:flex-start; background:none; border:0; padding:4px 0; color:var(--accent); font:inherit; font-size:.9rem; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer}
.err{background:var(--coral-soft); color:var(--coral); border-radius:12px; padding:10px 14px; font-weight:600}
.empty{background:var(--sunken); border-radius:16px; padding:22px; display:flex; flex-direction:column; gap:8px; align-items:flex-start}
.prop{border-top:1px solid var(--line); padding-top:16px; display:flex; flex-direction:column; gap:10px}
.prop:first-of-type{border-top:0; padding-top:0}
.msrow{display:grid; grid-template-columns:minmax(0,1fr) 140px 44px; gap:8px; align-items:center}
.icon-btn{width:44px; height:44px; border-radius:12px; border:1.5px solid var(--line); background:var(--surface); cursor:pointer; font-size:1.2rem; color:var(--fg)}
.loading{padding:40px 0; color:var(--muted)}
.foot{border-top:1px solid var(--line); margin-top:40px; padding-block:24px; color:var(--muted); font-size:.9rem}
/* seletor de idioma (rodapé e Ajustes): pílula com sombra suave, bandeira redonda à esquerda
   e um triângulo pequeno à direita. O <select> continua sendo o nativo (só sem a aparência
   do sistema), então a lista abre do jeito de cada aparelho e funciona com leitor de tela. */
.lang-pill{position:relative; display:inline-flex; align-items:center; gap:10px; padding:8px 14px 8px 8px; border-radius:999px; background:var(--surface); color:var(--fg); box-shadow:0 6px 20px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06); font-weight:700; cursor:pointer; max-width:100%}
.lang-pill:focus-within{outline:2px solid var(--accent); outline-offset:2px}
.lang-flag{flex:none; width:24px; height:24px; border-radius:50%; overflow:hidden; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.lang-flag svg{display:block; width:100%; height:100%}
.lang-pill select{appearance:none; -webkit-appearance:none; font:inherit; font-weight:700; color:inherit; background:transparent; border:0; padding:0 18px 0 0; margin:0; cursor:pointer; min-width:0; text-overflow:ellipsis}
.lang-pill select:focus{outline:none}
.lang-pill select option{color:var(--fg); background:var(--surface); font-weight:400}
.lang-caret{position:absolute; right:14px; top:50%; width:9px; height:6px; margin-top:-3px; fill:currentColor; pointer-events:none}
.field .lang-pill{align-self:flex-start}
.bub.sys{align-self:center; width:min(540px,94%); max-width:94%; background:var(--sunken); border:1px dashed var(--line); border-left:3px solid var(--accent); color:var(--fg); font-size:.93rem; text-align:left; border-radius:16px; padding:12px 15px; display:flex; flex-direction:column; gap:6px}
.bub.sys.sys-ok{border-left-color:var(--ok); background:var(--accent-soft)}
.bub.sys.sys-wait{border-left-color:var(--sun); background:var(--sun-soft)}
.bub.sys.sys-err{border-left-color:var(--coral); background:var(--coral-soft)}
.bub.sys .sys-head{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.bub.sys .sys-mark{width:22px; height:22px; border-radius:6px; background:linear-gradient(135deg,#E8650F,#7A0B3C); color:#fff; display:inline-flex; align-items:center; justify-content:center; flex:none}
.bub.sys .sys-mark svg{width:14px; height:14px; display:block}
.bub.sys .sys-brand{font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.bub.sys .sys-tag{font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:2px 8px; border-radius:999px; background:var(--surface); color:var(--accent); border:1px solid var(--line)}
.bub.sys.sys-ok .sys-tag{color:var(--ok)}
.bub.sys.sys-wait .sys-tag{color:var(--warn)}
.bub.sys.sys-err .sys-tag{color:var(--coral)}
.bub.sys .sys-head small{margin:0 0 0 auto; font-size:.75rem; color:var(--muted); opacity:.85}
.bub.sys .sys-body{margin:0; line-height:1.5; color:var(--fg)}
.pin-edit{display:flex; gap:8px; margin-top:8px}
.pin-edit .input{flex:1; min-width:0}
/* quem está logado: foto (ou iniciais) + "Olá, Fulano"; tocar abre Meu perfil */
.mm-user{width:100%; display:flex; align-items:center; gap:14px; margin:6px 0 2px; padding:10px; border:0; border-radius:14px; background:none; color:var(--fg); font:inherit; text-align:left; cursor:pointer}
.mm-user:hover{background:var(--sunken)}
.mm-user .av{width:52px; height:52px; font-size:1.05rem}
.mm-user-txt{display:flex; flex-direction:column; min-width:0; line-height:1.25}
.mm-user-txt b{font-size:1.1rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.mm-user-txt span{font-size:.86rem; color:var(--muted)}
.mm-user .chev{margin-left:auto; color:var(--muted); font-size:1.4rem; line-height:1}
@media (max-width:600px){ .msrow{grid-template-columns:minmax(0,1fr) 110px 44px} }

/* ---------- mostrar/ocultar senha ---------- */
.pass-wrap{position:relative}
.pass-wrap .input{padding-right:52px}
.eye-btn{position:absolute; top:50%; right:4px; transform:translateY(-50%); width:44px; height:44px; display:grid; place-items:center; background:none; border:0; border-radius:10px; color:var(--muted); cursor:pointer}
.eye-btn:hover{color:var(--fg); background:var(--sunken)}
.eye-btn[aria-pressed="true"]{color:var(--accent)}
.eye-btn svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* ---------- login social ---------- */
.btn.social{justify-content:center; gap:12px; text-transform:none; font-size:1rem; letter-spacing:0; min-height:50px; background:var(--surface); color:var(--fg); border-color:var(--line)}
.btn.social:hover{border-color:var(--fg)}
.btn.social svg{width:20px; height:20px; flex:none}
.divider{display:flex; align-items:center; gap:12px; color:var(--muted); font-size:.85rem; margin-top:6px}
.divider::before,.divider::after{content:""; flex:1; height:1px; background:var(--line)}

/* ---------- avaliações ---------- */
.stars{display:inline-flex; align-items:center; gap:4px; color:var(--warn); white-space:nowrap}
.stars b{color:var(--fg)}
.stars .off{color:var(--line)}
.review{border-top:1px solid var(--line); padding:14px 0; display:flex; flex-direction:column; gap:6px}
.review:first-child{border-top:0; padding-top:4px}
.ms-review{border-top:1px solid var(--line); margin-top:14px; padding-top:14px}
.rate{display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:8px}
.rate label{cursor:pointer}
.rate input{position:absolute; opacity:0; pointer-events:none}
.rate span{display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 4px; border:1.5px solid var(--line); border-radius:12px; font-size:.8rem; color:var(--muted); text-align:center}
.rate span b{font-size:1.2rem; color:var(--fg); font-family:var(--f-display)}
.rate input:checked + span{border-color:var(--accent); background:var(--accent-soft); color:var(--accent)}
.rate input:checked + span b{color:var(--accent)}
.rate input:focus-visible + span{outline:3px solid var(--accent); outline-offset:2px}
.chip-check{align-items:center; padding:6px 12px; border:1.5px solid var(--line); border-radius:999px; font-size:.88rem}
.chip-check input{margin:0}
.chip-check:has(input:checked){border-color:var(--accent); background:var(--accent-soft)}

/* ---------- portfólio ---------- */
.port-row{display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px 0; border-top:1px solid var(--line)}
.port-row:first-child{border-top:0}
.port-thumb{width:64px; height:48px; border-radius:8px; object-fit:cover; padding:0; display:block}
.port-thumb.lg{width:120px; height:90px}
.port-link{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.icon-btn.sm{width:36px; height:36px; font-size:1rem; border-radius:10px}
.icon-btn:disabled{opacity:.35; cursor:default}
.port-editor{background:var(--sunken)}
.pcard{margin:0; display:flex; flex-direction:column; gap:8px; min-width:0}
.pcard img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:14px; display:block; background:var(--sunken)}
.pcard .ptile{width:100%}
.pcard figcaption{display:flex; flex-direction:column; gap:2px; font-size:.92rem}
.pcard figcaption a{font-size:.85rem; font-weight:600}
@media (max-width:600px){ .port-row{grid-template-columns:56px minmax(0,1fr)} .port-row>.row{grid-column:1 / -1; justify-content:flex-start} }

/* ---------- arquivos do briefing ---------- */
.files{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px}
.file-row{display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:8px 10px; border:1px solid var(--line); border-radius:12px; background:var(--surface)}
.file-row>a,.file-row>span:nth-child(2){overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600}
.file-ext{min-width:44px; padding:4px 6px; border-radius:8px; background:var(--accent-soft); color:var(--accent); font-family:var(--f-mono, monospace); font-size:.72rem; font-weight:800; text-transform:uppercase; text-align:center}
@media (max-width:600px){ .file-row{grid-template-columns:auto minmax(0,1fr) auto} .file-row>.hint{display:none} }
/* na coluna lateral (sua proposta) não cabe o tamanho: o nome do arquivo ganha o espaço */
aside .file-row{grid-template-columns:auto minmax(0,1fr) auto} aside .file-row>.hint{display:none}
/* anexos na conversa: um cartãozinho com o tipo, o nome e o tamanho; e o clipe ao lado da caixa de texto */
.bub.file{padding:8px 10px}
.bub-file{display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; column-gap:10px; align-items:center; color:inherit; text-decoration:none; min-width:0}
.bub-file .file-ext{grid-row:span 2}
.bub-file .bf-name{font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:underline; text-underline-offset:3px}
.bub-file .bf-size{font-size:.8rem; opacity:.75}
.bub.me .bub-file .file-ext{background:rgba(255,255,255,.2); color:inherit}
.compose label.attach-btn{padding:10px 12px; cursor:pointer; flex:none}
.attach-btn svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
/* o <input type=file> fica escondido; quem navega pelo teclado vê o contorno no botão que está antes dele */
label.btn:has(+ input[type=file]:focus-visible){outline:2px solid var(--accent); outline-offset:2px}

/* ---------- selo de verificado ---------- */
.vbadge{display:inline-flex; width:.95em; height:.95em; min-width:16px; min-height:16px; margin-left:.3em; vertical-align:-.12em; color:#19A957; flex:none}
.vbadge svg{width:100%; height:100%; display:block}
.vbadge.lg{width:40px; height:40px; margin:0}
.vbadge.off{color:var(--line)}
.verify-box details summary{cursor:pointer}

/* CELULAR E TABLET (até 980 px): o menu de cima some e aparece a barra de navegação embaixo,
   perto do polegar. Na página da vaga, o valor e o botão principal ficam presos logo acima
   dela, sempre à vista.
   pointer:coarse = aparelho de TOQUE. Aí, botões pequenos ganham uma "área invisível" de
   44 px em volta (o tamanho de uma ponta de dedo), sem mudar a aparência. */
/* ---------- celular: navegação embaixo, ação fixa e área de toque ---------- */
.tabbar,.mcta{display:none}
@media (max-width:700px){
  /* barra de navegação no alcance do polegar: uma pílula que FLUTUA sobre o conteúdo (o conteúdo
     passa por trás dela) e, ao lado, um botão redondo de busca. A aba atual ganha uma pílula clara
     por dentro. No modo vidro as duas peças são de vidro: desfocam e deixam o conteúdo transparecer. */
  .tabbar{display:flex; align-items:center; gap:10px; position:fixed; z-index:25; pointer-events:none;
    left:max(12px,env(safe-area-inset-left,0px)); right:max(12px,env(safe-area-inset-right,0px)); bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .tb-pill,.tb-search{pointer-events:auto; background:var(--surface); border:1px solid var(--line); box-shadow:0 8px 28px rgb(0 0 0 / .14), 0 1px 3px rgb(0 0 0 / .08)}
  .tb-pill{flex:1; min-width:0; display:flex; padding:4px; border-radius:999px}
  .tabbar :is(button,a){min-width:0; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
    background:none; border:0; color:var(--muted); font:inherit; font-size:.7rem; font-weight:600; cursor:pointer; -webkit-tap-highlight-color:transparent}
  .tb-pill :is(button,a){flex:1 1 auto; min-height:54px; padding:0 4px; /* auto: cada aba cabe no seu nome e o espaço que sobra é dividido igual */ border-radius:999px; transition:background-color .2s, color .2s}
  .tabbar svg{width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
  .tabbar span{max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
  .tb-pill :is(button,a)[aria-current="page"]{color:var(--accent); background:var(--accent-soft)}
  .tb-pill :is(button,a):active{background:var(--sunken)}
  .tb-search{flex:none; width:64px; height:64px; border-radius:50%; color:var(--fg)}
  .tb-search:active{transform:scale(.94)}
  .tabbar .badge{position:absolute; top:4px; left:calc(50% + 4px); margin:0}
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}

  /* página da vaga: valor e botão principal sempre à vista, logo acima da barra */
  .mcta{display:flex; align-items:center; justify-content:space-between; gap:12px; position:fixed; left:0; right:0; z-index:24;
    bottom:calc(84px + env(safe-area-inset-bottom,0px)); background:var(--surface); border-top:1px solid var(--line);
    padding:10px max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px))}
  .mcta-info{display:flex; flex-direction:column; min-width:0}
  .mcta-info .hint{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
  .mcta .btn{flex:none}
  main:has(.mcta){padding-bottom:150px}
}
/* toque: botões e links pequenos aceitam o dedo numa área de 44 px, sem mudar a aparência */
@media (pointer:coarse){
  .btn.sm,.back,.foot a,.link-btn,.brand,.icon-btn.sm,.chip-check{position:relative}
  .btn.sm::after,.back::after,.foot a::after,.link-btn::after,.brand::after,.icon-btn.sm::after,.chip-check::after{
    content:""; position:absolute; left:-4px; right:-4px; top:50%; height:max(100%,44px); transform:translateY(-50%)}
}

/* ---------- perfil em seções (mesmo painel e títulos de antes; só abre e fecha) ---------- */
.psec{padding:0}
.psec>summary{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; min-height:56px; cursor:pointer; list-style:none}
.psec>summary::-webkit-details-marker{display:none}
.psec>summary::after{content:"›"; font-size:1.6rem; line-height:1; color:var(--muted); transform:rotate(90deg); transition:transform .15s; flex:none}
.psec[open]>summary::after{transform:rotate(-90deg)}
.psec-h{display:flex; flex-direction:column; gap:2px; min-width:0}
.psec-h .hint{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.psec[open] .psec-h .hint{display:none}
.psec-b{padding:0 22px 22px}
.psec-b>.panel{border:0; padding:0; margin:0!important; background:none; box-shadow:none}
html.glass .psec-b>.panel{border:0; background:none; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none} /* painel dentro de seção fica plano, sem o volume do vidro */
.psec-b>.panel>h2:first-child{display:none}
@media (max-width:700px){ .psec>summary{padding:16px 18px} .psec-b{padding:0 18px 18px} }

/* ---------- vagas: chips de filtro no celular ---------- */
.fchips{display:none}
@media (max-width:700px){
  /* a fileira rola para o lado; o respiro vertical guarda a área de toque de 44 px dos chips */
  .fchips{display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; margin:-11px -16px; padding:11px 16px; -webkit-overflow-scrolling:touch}
  .fchips::-webkit-scrollbar{display:none}
  .fchips .chip{flex:none; cursor:pointer; border:0; font:inherit; font-size:.82rem; font-weight:700; position:relative}
  .fchips .chip::after{content:""; position:absolute; left:-4px; right:-4px; top:50%; height:44px; transform:translateY(-50%)}
}

/* ---------- início no celular: perfil em destaque compacto (só as duas preferências principais) ---------- */
@media (max-width:700px){
  .wcard .grid2 .pref:nth-child(n+3){display:none}
}

/* ---------- conversa: aviso de mensagem nova e tela cheia no celular ---------- */
.compose{position:relative}
.newmsg{position:absolute; left:50%; bottom:calc(100% + 10px); transform:translateX(-50%); width:max-content; z-index:2; box-shadow:0 6px 18px rgb(0 0 0 / .18)}
@media (max-width:700px){
  body.chat-full{padding-bottom:0; overflow:hidden}
  body.chat-full .top,body.chat-full .foot,body.chat-full .tabbar,body.chat-full #view>h2{display:none}
  body.chat-full main{padding:0}
  body.chat-full .msgs.show-convo{position:fixed; left:0; right:0; top:var(--vvt,0px); height:var(--vvh,100dvh); z-index:26; display:flex; flex-direction:column; border:0; border-radius:0; min-height:0}
  body.chat-full .convo{flex:1; min-height:0}
  body.chat-full .convo-head{flex-wrap:nowrap; padding:calc(10px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px))}
  body.chat-full .convo-head .back{flex-basis:auto; white-space:nowrap}
  body.chat-full .convo-head .chip{flex:none; max-width:38%; overflow:hidden; text-overflow:ellipsis}
  body.chat-full .pin{margin:10px 16px 0; display:flex; gap:6px; align-items:baseline}
  body.chat-full .pin b{flex:none}
  body.chat-full #pinText{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer}
  body.chat-full .pin.open{display:block}
  body.chat-full .pin.open #pinText{white-space:normal}
  body.chat-full .bubbles{flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:14px 16px}
  body.chat-full .compose{padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
  body.chat-full .quick{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -16px; padding:0 16px}
  body.chat-full .quick::-webkit-scrollbar{display:none}
  body.chat-full .quick button{flex:none}
}

/* ---------- painéis: confirmação no centro (computador) e de baixo para cima (celular) ---------- */
.sheet-grip{display:none}
.drawer.sheet{top:50%; left:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); width:min(440px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:24px; border:1px solid var(--line); border-radius:24px; z-index:60}
.scrim:has(+.sheet){z-index:59}
.sheet-actions{display:flex; gap:10px; flex-wrap:wrap}
@media (max-width:700px){
  .drawer,.drawer.sheet{top:auto; left:0; right:0; bottom:0; transform:none; width:100%; max-height:88dvh; border:0; border-top:1px solid var(--line); border-radius:24px 24px 0 0;
    padding:14px max(20px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px)); box-shadow:0 -20px 40px rgb(0 0 0 / .18); animation:sheet-up .22s ease-out}
  .sheet-grip{display:block; width:40px; height:5px; border-radius:99px; background:var(--line); margin:0 auto 4px; flex:none}
  .sheet-actions{flex-direction:column}
  .sheet-actions .btn{width:100%; min-height:50px}
}
@keyframes sheet-up{from{transform:translateY(40px); opacity:.6}}

/* ---------- blocos de carregamento (chapados: mesmos cantos dos painéis, sem borda nem sombra; com um brilho suave que passa
   da esquerda para a direita; quem pede "menos movimento" no sistema vê os blocos parados) ---------- */
.sk-wrap{display:flex; flex-direction:column; gap:14px; animation:sk-in .2s ease-out}
.sk{position:relative; overflow:hidden; background:var(--sunken); border:0; border-radius:var(--r); box-shadow:none; max-width:100%}
.sk::after{content:""; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgb(255 255 255 / .55), transparent);
  animation:sk-shine 1.4s ease-in-out infinite}
.sk-wrap .sk:nth-child(2n)::after{animation-delay:.08s}
.sk-wrap .sk:nth-child(3n)::after{animation-delay:.16s}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .sk::after{background:linear-gradient(90deg, transparent, rgb(255 255 255 / .1), transparent)}}
:root[data-theme="dark"] .sk::after{background:linear-gradient(90deg, transparent, rgb(255 255 255 / .1), transparent)}
@keyframes sk-shine{to{transform:translateX(100%)}}
@keyframes sk-in{from{opacity:0}}
@media (prefers-reduced-motion: reduce){.sk::after{display:none}}
.sk-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px}
.sk-row{display:flex; gap:18px; align-items:center}
.sk-col{flex:1; display:flex; flex-direction:column; gap:10px}

/* ---------- escolha de tema (mesmo seletor arredondado de "Entrar / Criar conta") ---------- */
.theme-seg{display:flex}
.theme-seg button{flex:1; min-height:44px}

/* VIDRO LÍQUIDO (só vale com a classe "glass" no <html>; desliga em Ajustes):
   - potes de tinta novos: brancos e vinhos meio transparentes, brilho na borda, sombra;
   - o fundo ganha "manchas de luz" paradas nas cores da marca;
   - painéis, botões e barras ficam translúcidos com backdrop-filter: blur, que DESFOCA o que
     está atrás, como um vidro fosco de banheiro;
   - no final, um plano B: se o navegador não sabe desfocar, o vidro fica mais opaco para o
     texto continuar fácil de ler. */
/* ---------- vidro líquido: superfícies translúcidas sobre um fundo com luz da marca (desliga em Ajustes) ---------- */
:root{
  --glass-bg:rgb(255 255 255 / .84); --glass-bg-strong:rgb(255 255 255 / .95); --glass-sunken:rgb(133 11 66 / .05);
  --glass-line:rgb(255 255 255 / .85); --glass-edge:rgb(133 11 66 / .09);
  --glass-hi:inset 0 1px 0 rgb(255 255 255 / 1), inset 0 0 0 1px rgb(255 255 255 / .45), inset 0 -1px 0 rgb(133 11 66 / .07);
  --glass-shadow:0 10px 32px -4px rgb(97 9 48 / .11), 0 2px 8px -2px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .04);
  --glass-blur:blur(22px) saturate(190%);
  --glass-brand:rgb(122 11 60 / .92);
  --glass-glow-1:rgb(249 115 22 / .18); --glass-glow-2:rgb(180 16 92 / .14); --glass-glow-3:rgb(255 82 144 / .20);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --glass-bg:rgb(40 16 28 / .52); --glass-bg-strong:rgb(34 16 26 / .82); --glass-sunken:rgb(255 255 255 / .05);
  --glass-line:rgb(255 255 255 / .12); --glass-edge:rgb(0 0 0 / .3);
  --glass-hi:inset 0 1px 0 rgb(255 255 255 / .14), inset 0 -1px 0 rgb(255 255 255 / .03);
  --glass-shadow:0 10px 36px rgb(0 0 0 / .4), 0 1px 3px rgb(0 0 0 / .3);
  --glass-brand:rgb(97 9 48 / .7);
  --glass-glow-1:rgb(232 101 15 / .14); --glass-glow-2:rgb(255 182 193 / .1); --glass-glow-3:rgb(122 11 60 / .45)}}
:root[data-theme="dark"]{
  --glass-bg:rgb(40 16 28 / .52); --glass-bg-strong:rgb(34 16 26 / .82); --glass-sunken:rgb(255 255 255 / .05);
  --glass-line:rgb(255 255 255 / .12); --glass-edge:rgb(0 0 0 / .3);
  --glass-hi:inset 0 1px 0 rgb(255 255 255 / .14), inset 0 -1px 0 rgb(255 255 255 / .03);
  --glass-shadow:0 10px 36px rgb(0 0 0 / .4), 0 1px 3px rgb(0 0 0 / .3);
  --glass-brand:rgb(97 9 48 / .7);
  --glass-glow-1:rgb(232 101 15 / .14); --glass-glow-2:rgb(255 182 193 / .1); --glass-glow-3:rgb(122 11 60 / .45)}

/* fundo: manchas de luz paradas (não rolam nem se mexem) para o vidro ter o que refratar */
html.glass body{background:
  radial-gradient(60vmax 50vmax at 0% 0%, var(--glass-glow-3), transparent 60%),
  radial-gradient(50vmax 45vmax at 100% 20%, var(--glass-glow-1), transparent 60%),
  radial-gradient(55vmax 50vmax at 40% 100%, var(--glass-glow-2), transparent 60%),
  var(--bg); background-attachment:fixed}

/* superfícies de vidro */
html.glass :is(.panel,.job,.talent,.cat,.wcard,.msgs,.empty,.file-row,.sk){
  background:var(--glass-bg); border-color:var(--glass-line);
  box-shadow:var(--glass-hi), var(--glass-shadow)}
html.glass :is(.panel,.wcard,.msgs,.empty){
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur)}
html.glass :is(.job,.talent,.cat):hover{border-color:var(--accent); box-shadow:var(--glass-hi), 0 12px 40px rgb(97 9 48 / .16)}
html.glass :is(.sunk,.pref,.how,.seg){background:var(--glass-sunken); box-shadow:inset 0 0 0 1px var(--glass-edge)}
html.glass .seg button[aria-pressed="true"]{background:var(--glass-bg-strong); box-shadow:var(--glass-hi), 0 2px 8px rgb(0 0 0 / .1)}
html.glass :is(.threads,.convo-head,.compose,.thread){border-color:var(--glass-line)}
html.glass .thread{background:none}
html.glass .thread[aria-current="true"]{background:var(--accent-soft)}

/* controles */
html.glass .btn:not(.primary):not(.hl):not(.ghost){background:var(--glass-bg); border-color:var(--glass-line);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); box-shadow:var(--glass-hi), 0 2px 8px rgb(0 0 0 / .06)}
html.glass .btn:not(.primary):not(.hl):not(.ghost):hover{border-color:var(--fg)}
html.glass :is(.btn.primary,.btn.hl){box-shadow:inset 0 1px 0 rgb(255 255 255 / .35), 0 4px 14px rgb(97 9 48 / .22)}
html.glass :is(.input,select.input,textarea.input,.icon-btn,.quick button,.energy button,.rate span){background:var(--glass-bg); border-color:var(--glass-line); box-shadow:var(--glass-hi)}
html.glass .input:focus{border-color:var(--accent)}
html.glass .search{background:var(--glass-bg); border-color:var(--glass-line); -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); box-shadow:var(--glass-hi), var(--glass-shadow)}
html.glass .energy button[aria-pressed="true"],html.glass .rate input:checked + span{background:var(--accent-soft); border-color:var(--accent)}

/* barras e painéis flutuantes */
html.glass .top,html.glass body::before{background-color:var(--glass-brand); -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur)}
html.glass .top{box-shadow:inset 0 -1px 0 rgb(255 255 255 / .14), 0 6px 24px rgb(97 9 48 / .18)}
html.glass .mcta{background:var(--glass-bg-strong); border-top-color:var(--glass-line);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); box-shadow:inset 0 1px 0 var(--glass-line)}
html.glass :is(.tb-pill,.tb-search){background:var(--glass-bg); border-color:var(--glass-line);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); box-shadow:var(--glass-hi), var(--glass-shadow)}
html.glass .tb-pill :is(button,a)[aria-current="page"]{background:var(--glass-bg-strong); box-shadow:var(--glass-hi), 0 1px 4px rgb(0 0 0 / .08)}
html.glass :is(.drawer,.mmenu){background:var(--glass-bg-strong); border-color:var(--glass-line);
  -webkit-backdrop-filter:blur(30px) saturate(180%); backdrop-filter:blur(30px) saturate(180%)}
html.glass :is(.scrim,.mm-scrim){-webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px)}
html.glass .toast{background:rgb(28 11 18 / .78); color:#fff; -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); box-shadow:inset 0 1px 0 rgb(255 255 255 / .18), 0 8px 24px rgb(0 0 0 / .2)}
html.glass .top .btn:not(.primary):not(.hl){background:rgb(255 255 255 / .1); color:#fff; border-color:rgb(255 255 255 / .4); box-shadow:inset 0 1px 0 rgb(255 255 255 / .2)}
html.glass .top .btn:not(.primary):not(.hl):hover{border-color:#fff}
html.glass .hero .seg{background:rgb(255 255 255 / .12); box-shadow:inset 0 0 0 1px rgb(255 255 255 / .18)}
html.glass .hero .seg button[aria-pressed="true"]{background:#fff; color:var(--brand-deep)}
html.glass .hero .wcard{background:var(--glass-bg-strong)}
html.glass .hero .search{background:rgb(255 255 255 / .9)}
html.glass .foot{border-top-color:var(--glass-line)}

/* sem desfoque no navegador: o vidro fica mais opaco para o texto continuar legível */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html.glass :is(.panel,.job,.talent,.cat,.wcard,.msgs,.empty,.file-row,.search){background:var(--glass-bg-strong)}
  html.glass .top,html.glass body::before{background-color:var(--brand)}
}

/* CABEÇALHO QUE ENCOLHE: parado no topo da página, o cabeçalho e o logo ficam 30% maiores
   (classe top-big). Quando você rola, o app.js tira a classe e eles voltam ao tamanho normal,
   com uma transição suave. "Talents" tem tamanho fixo e não muda. */
/* ---------- topo: 30% maior parado no início, volta ao tamanho normal ao rolar ---------- */
.top{--top-h:62px; --logo-h:22px}
.top .wrap{min-height:var(--top-h); transition:min-height .25s ease}
.top .brand svg{height:var(--logo-h); transition:height .25s ease}
.top .brand .sub{font-size:.7rem} /* "Talents" 30% menor e fixo: não acompanha a rolagem */
html.top-big .top{--top-h:68px; --logo-h:24px}
@media (max-width:700px){
  .top{--top-h:56px; --logo-h:20px}
  .top .brand .sub{font-size:.6rem}
  html.top-big .top{--top-h:58px; --logo-h:21px}
}

/* ---------- campo de habilidades: etiquetas + lista de autocompletar ---------- */
.skillbox{position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:6px 8px; min-height:48px;
  border:1.5px solid var(--line); border-radius:12px; background:var(--surface); cursor:text}
.skillbox:focus-within{border-color:var(--accent)}
.sk-tags{display:contents; list-style:none; margin:0; padding:0}
.sk-tag{display:inline-flex; align-items:center; gap:2px; padding:2px 2px 2px 12px; border-radius:999px; background:var(--accent-soft); color:var(--accent); font-size:.88rem; font-weight:700; max-width:100%}
.sk-tag button{position:relative; width:28px; height:28px; border:0; border-radius:50%; background:none; color:inherit; font-size:1.15rem; line-height:1; cursor:pointer; flex:none}
.sk-tag button:hover{background:rgb(0 0 0 / .08)}
.sk-tag button::after{content:""; position:absolute; inset:-8px} /* área de toque de 44 px */
.sk-in{flex:1; min-width:150px; min-height:34px; border:0; background:none; outline:none; padding:4px; font-size:1rem}
.sk-in:disabled{cursor:not-allowed}
.sk-list{position:absolute; left:-1.5px; right:-1.5px; top:calc(100% + 6px); z-index:30; list-style:none; margin:0; padding:6px; max-height:300px; overflow-y:auto;
  background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:0 14px 36px rgb(0 0 0 / .22)}
.sk-list [role=option]{padding:10px 12px; min-height:44px; display:flex; align-items:center; border-radius:10px; cursor:pointer}
.sk-list [role=option][aria-selected="true"],.sk-list [role=option]:hover{background:var(--accent-soft); color:var(--accent)}
.sk-list mark{background:none; color:inherit; font-weight:800; text-decoration:underline; text-underline-offset:3px}
html.glass .skillbox{background:var(--glass-bg); border-color:var(--glass-line); box-shadow:var(--glass-hi)}
html.glass .skillbox:focus-within{border-color:var(--accent)}
html.glass .sk-list{border-color:var(--glass-line)} /* a lista fica sólida mesmo no vidro: precisa ser lida sem o fundo vazando */
/* o painel com a lista aberta passa por cima dos painéis seguintes (o vidro cria uma camada por painel) */
:is(.panel,.psec):has(.sk-list:not([hidden])){position:relative; z-index:6}

/* TELAS GRANDES, do menor para o maior:
   - iPad em pé (768 a 900 px): filtros, detalhes e lista de conversas voltam para o lado;
   - do iPad para cima: a conversa ocupa a altura da tela;
   - iPad em geral (toque): alvos de toque maiores;
   - iPad deitado (981 a 1180 px): menu de cima apertadinho para caber numa linha;
   - MacBook (1400 px ou mais): coluna de conteúdo mais larga;
   - iMac (1800 px e 2300 px ou mais): a letra e a coluna crescem juntas, para o site não virar
     uma faixa estreita e miudinha no meio de uma tela enorme. */
/* ---------- telas maiores: iPad (em pé e deitado), MacBook e iMac ---------- */
/* áreas: 8 áreas fecham perfeitamente 2 linhas de 4 colunas (e 4 linhas de 2 no celular) */
.cats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:700px){ .cats{grid-template-columns:repeat(2,minmax(0,1fr))} }

/* iPad em pé (768 a 900 px): filtros e painéis voltam para o lado, em vez de empilhar */
@media (min-width:768px) and (max-width:900px){
  .layout{grid-template-columns:230px minmax(0,1fr); gap:20px}
  .filters{position:sticky; top:calc(env(safe-area-inset-top,0px) + 96px)}
  .detail{grid-template-columns:minmax(0,1fr) 270px; gap:20px}
  .brief section{grid-template-columns:120px minmax(0,1fr); gap:14px}
  .meter{position:sticky; top:calc(env(safe-area-inset-top,0px) + 96px)}
  .msgs{grid-template-columns:260px minmax(0,1fr)}
  .threads{border-right:1px solid var(--line); border-bottom:0; max-height:none}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .principles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero .wcard .grid2{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* do iPad para cima: a conversa ocupa a altura da tela e só a lista de mensagens rola */
@media (min-width:768px){
  .msgs{height:calc(100dvh - 260px); min-height:520px}
  .threads{overflow-y:auto}
  .convo,.bubbles{min-height:0}
}
/* iPad em geral (toque, 768 a 1366 px): alvos de toque maiores nos filtros e listas */
@media (min-width:768px) and (max-width:1366px) and (pointer:coarse){
  .check{min-height:44px; align-items:center}
  .check input{margin-top:0}
  .thread{min-height:64px}
}

/* iPad deitado e telas de 981 a 1180 px: o menu de cima cabe numa linha só */
@media (min-width:981px) and (max-width:1180px){
  .top .wrap{flex-wrap:nowrap; gap:12px}
  .nav{flex-wrap:nowrap}
  .nav :is(button,a){padding:8px 10px; font-size:.95rem; white-space:nowrap}
  .top-actions{flex:none}
}
/* MacBook (a partir de 1400 px): coluna mais larga e conversa ocupando a altura da tela */
@media (min-width:1400px){
  .wrap{max-width:1320px}
  .layout{grid-template-columns:280px minmax(0,1fr); gap:36px}
  .detail{grid-template-columns:minmax(0,1fr) 360px; gap:36px}
  .msgs{grid-template-columns:340px minmax(0,1fr)}
  .tgrid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:20px}
  .hero{padding:64px}
}
/* iMac e monitores grandes: texto e coluna crescem juntos, para não virar uma faixa estreita no meio */
@media (min-width:1800px){
  html{font-size:17px} :root{--fs:17.5px}
  html.big{--fs:19.5px}
  .wrap{max-width:1480px}
  .layout{grid-template-columns:300px minmax(0,1fr)}
  .detail{grid-template-columns:minmax(0,1fr) 400px}
  .msgs{grid-template-columns:380px minmax(0,1fr)}
  .tgrid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
  .hero{padding:80px; gap:64px}
  .hero p.lead{font-size:1.25rem}
}
@media (min-width:2300px){
  html{font-size:18.5px} :root{--fs:19px}
  html.big{--fs:21px}
  .wrap{max-width:1640px}
  .top{--top-h:72px; --logo-h:25px}
  html.top-big .top{--top-h:94px; --logo-h:32px}
}

/* ---------- panorama (painel do dono, #panorama) ----------
   Números grandes em cartões, gráficos de barras desenhados à mão, barras horizontais para funil e
   comparações, listas do que está parado e tabelas das últimas novidades. Tudo com os potes de tinta
   do site, então funciona no tema claro, no escuro e com o vidro líquido. */
.adm h2{margin-top:12px}
.adm-kpis{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px}
.adm-kpi{display:flex; flex-direction:column; gap:4px; padding:18px}
.adm-kpi b{font-size:1.7rem; line-height:1.15}
.adm-charts{display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px}
.adm-chart{display:flex; flex-direction:column; gap:8px; padding:18px}
.adm-chart svg{width:100%; height:110px; display:block}
.adm-bar{fill:var(--accent); opacity:.45}
.adm-bar.now{opacity:1}
.adm-axis{fill:var(--muted); font-size:9px; font-family:var(--f-body)}
.adm-two{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
.adm-hbars{display:flex; flex-direction:column; gap:10px}
.adm-hrow{display:grid; grid-template-columns:minmax(0,200px) minmax(0,1fr) auto 44px; gap:10px; align-items:center; font-size:.92rem}
.adm-htrack{height:10px; border-radius:99px; background:var(--sunken); overflow:hidden}
.adm-htrack i{display:block; height:100%; border-radius:99px; background:var(--accent)}
.adm-hrow .hint{text-align:right}
.adm-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px}
.adm-list li{border-top:1px solid var(--line); padding-top:10px}
.adm-list li:first-child{border-top:0; padding-top:0}
.badge.off{background:var(--sunken); color:var(--muted)}
.adm-table{overflow-x:auto}
.adm-table h3{margin-bottom:10px}
.adm-table table{width:100%; border-collapse:collapse; font-size:.92rem; min-width:560px}
.adm-table th{text-align:left; font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); padding:8px 10px; border-bottom:1px solid var(--line)}
.adm-table td{padding:10px; border-bottom:1px solid var(--line); vertical-align:top}
.adm-table tr:last-child td{border-bottom:0}
@media (max-width:900px){ .adm-two{grid-template-columns:minmax(0,1fr)} }
@media (max-width:600px){ .adm-kpis{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px} .adm-kpi{padding:14px} .adm-hrow{grid-template-columns:minmax(0,110px) minmax(0,1fr) auto 38px; font-size:.85rem} .adm-kpi b{font-size:1.3rem} }

/* ---------- gestão de dados (#gestao): abas, tabela com ações e o formulário no painel lateral ---------- */
.adm-tabs{display:flex; flex-wrap:wrap; margin-top:0}
.adm-tabs button{flex:none}
.adm-actions{white-space:nowrap; text-align:right}
.adm-actions .btn{margin-left:6px}
.adm-detail{font-size:.8rem; color:var(--muted); word-break:break-word; max-width:420px}
.adm-drawer{width:min(520px,100%)}
.adm-kpi-btn{text-align:left; font:inherit; color:inherit; cursor:pointer; transition:border-color .15s, background-color .15s}
.adm-kpi-btn:hover{border-color:var(--hover-line)}
.adm-kpi-btn.active{border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent)}
.adm-prop-list{gap:14px}
.adm-prop-card{gap:14px; padding:20px}
.adm-prop-head{justify-content:space-between; align-items:flex-start; gap:12px}
.adm-prop-job{display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.2fr); gap:14px; padding:12px 14px; border-radius:12px; background:var(--sunken); border:1px solid var(--line)}
.adm-prop-text{white-space:pre-line; line-height:1.55; margin:0}
.adm-prop-qs{padding:12px 14px; border-radius:12px; background:var(--sunken); border-left:3px solid var(--accent); display:flex; flex-direction:column; gap:4px}
.adm-prop-qs p{margin:0; white-space:pre-line}
.adm-prop-actions{flex-wrap:wrap; gap:8px; padding-top:10px; border-top:1px solid var(--line)}
@media (max-width:700px){ .adm-tabs{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none} .adm-tabs::-webkit-scrollbar{display:none} .adm-prop-job{grid-template-columns:minmax(0,1fr); gap:10px} }

/* ---------- modo claro vívido: cores ricas, contraste nítido e luzes da marca ----------
   Só mexe nos "potes de tinta" do tema claro (o escuro tem os seus próprios e não muda).
   O claro vale quando a pessoa escolhe "Claro" ou "Sistema" com o aparelho no claro. */
:root{--label:var(--muted); --hover-line:var(--accent); --top-line:0px; --warm-edge:transparent}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){
  --bg:#F8F6F9; --sunken:#F2EBF0; --line:#D8BDCF; --muted:#523A47; --accent-soft:#FCE7F1;
  --label:#C2410C; --hover-line:var(--orange); --top-line:3px; --warm-edge:rgb(234 88 12 / .45);
  --glass-bg:rgb(255 255 255 / .84); --glass-bg-strong:rgb(255 255 255 / .95); --glass-sunken:rgb(133 11 66 / .05);
  --glass-line:rgb(255 255 255 / .85); --glass-edge:rgb(133 11 66 / .09); --glass-brand:rgb(122 11 60 / .95);
  --glass-shadow:0 10px 32px -4px rgb(97 9 48 / .11), 0 2px 8px -2px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .04);
  --glass-glow-1:rgb(249 115 22 / .18); --glass-glow-2:rgb(180 16 92 / .14); --glass-glow-3:rgb(255 82 144 / .20)}}
:root[data-theme="light"]{
  --bg:#F8F6F9; --sunken:#F2EBF0; --line:#D8BDCF; --muted:#523A47; --accent-soft:#FCE7F1;
  --label:#C2410C; --hover-line:var(--orange); --top-line:3px; --warm-edge:rgb(234 88 12 / .45);
  --glass-bg:rgb(255 255 255 / .84); --glass-bg-strong:rgb(255 255 255 / .95); --glass-sunken:rgb(133 11 66 / .05);
  --glass-line:rgb(255 255 255 / .85); --glass-edge:rgb(133 11 66 / .09); --glass-brand:rgb(122 11 60 / .95);
  --glass-shadow:0 10px 32px -4px rgb(97 9 48 / .11), 0 2px 8px -2px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .04);
  --glass-glow-1:rgb(249 115 22 / .18); --glass-glow-2:rgb(180 16 92 / .14); --glass-glow-3:rgb(255 82 144 / .20)}
/* rótulos pequenos em laranja vivo (no escuro continuam como antes) */
.label{color:var(--label)}
/* fio degradê laranja-rosa embaixo do topo, que se apaga para a direita (só aparece no claro) */
.top::after{content:""; position:absolute; left:0; right:0; bottom:0; height:var(--top-line); pointer-events:none;
  background:linear-gradient(90deg, var(--orange) 0%, #FF7597 45%, rgb(255 117 151 / 0) 100%)}
/* cartões ganham contorno laranja ao passar o mouse e um brilho quente no topo */
:is(.job,.talent,.cat):hover{border-color:var(--hover-line); box-shadow:0 12px 30px -4px rgb(234 88 12 / .15), 0 2px 6px rgb(0 0 0 / .05), inset 0 2px 0 var(--hover-line)}
html.glass :is(.job,.talent,.cat):hover{border-color:var(--hover-line); box-shadow:inset 0 2px 0 var(--hover-line), var(--glass-hi), 0 14px 40px -4px rgb(234 88 12 / .18), 0 4px 12px rgb(97 9 48 / .1)}
:is(.panel,.job,.talent,.cat,.wcard,.msgs){box-shadow:0 4px 18px -2px rgb(97 9 48 / .06), 0 1px 3px rgb(0 0 0 / .04), inset 0 2px 0 var(--warm-edge)}
html.glass :is(.panel,.job,.talent,.cat,.wcard,.msgs,.empty,.file-row,.sk){box-shadow:inset 0 2px 0 var(--warm-edge), var(--glass-hi), var(--glass-shadow)}
html.glass .sk{background:rgb(90 20 50 / .08); border:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]).glass .sk{background:rgb(255 255 255 / .06)}}
:root[data-theme="dark"].glass .sk{background:rgb(255 255 255 / .06)} /* bloco de carregamento: chapado (sem borda, sombra nem desfoque), num tom que aparece sobre o fundo */
.psec-b>.panel,html.glass .psec-b>.panel{box-shadow:none}

/* ---------- aviso de estatísticas (Google Analytics só com permissão) ----------
   Uma faixa discreta embaixo da tela, acima da barra de navegação do celular; some depois da escolha. */
.consent{position:fixed; left:16px; right:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); z-index:45; max-width:640px; margin:0 auto;
  display:flex; gap:14px; align-items:center; justify-content:space-between; padding:14px 16px; border-radius:16px;
  background:var(--surface); color:var(--fg); border:1px solid var(--line); box-shadow:0 12px 32px rgb(0 0 0 / .22); font-size:.92rem}
.consent p{margin:0}
html.glass .consent{background:var(--glass-bg-strong); border-color:var(--glass-line); -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur)}
@media (max-width:700px){ .consent{bottom:calc(70px + env(safe-area-inset-bottom,0px))} }
@media (max-width:600px){ .consent{flex-direction:column; align-items:stretch} .consent .row{justify-content:flex-end} }

/* ---------- tarefas no estilo Asana: lista, quadro (kanban), calendário e o painel da tarefa ----------
   Linhas com caixa de concluir, nome, responsável (iniciais), prazo (laranja se é hoje, vermelho se venceu)
   e comentários; no quadro, colunas que rolam de lado; no calendário, uma grade de segunda a domingo. */
.tk-page .seg{margin-top:0}
.tk-section{display:flex; flex-direction:column; gap:10px}
.tk-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column}
.tk-row{display:flex; align-items:center; gap:10px; padding:8px 4px; border-top:1px solid var(--line); min-height:44px}
.tk-row:first-child{border-top:0}
.tk-check{width:20px; height:20px; accent-color:var(--accent); flex:none; cursor:pointer}
.tk-title{flex:1; min-width:0; text-align:left; background:none; border:0; padding:4px 0; font:inherit; font-weight:600; color:var(--fg); cursor:pointer; text-decoration:none; overflow-wrap:anywhere}
.tk-title:hover{color:var(--accent)}
.done .tk-title{text-decoration:line-through; color:var(--muted); font-weight:400}
.tk-meta{display:inline-flex; align-items:center; gap:8px; flex:none; font-size:.85rem}
.tk-who{display:inline-grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--accent-soft); color:var(--accent); font-size:.72rem; font-weight:800}
.tk-due{font-size:.82rem; font-weight:700; color:var(--muted)}
.tk-due.now{color:var(--hi)}
.tk-due.late{color:var(--coral)}
.tk-add .input,.tk-newsec .input{border-style:dashed; background:none}
.tk-sec-actions{display:inline-flex; gap:4px}
.tk-sec-actions .icon-btn{width:30px; height:30px; font-size:.9rem}
.tk-board{display:grid; grid-auto-flow:column; grid-auto-columns:minmax(260px,300px); gap:14px; overflow-x:auto; padding-bottom:8px; align-items:start}
.tk-col{background:var(--sunken); border-radius:16px; padding:12px; display:flex; flex-direction:column; gap:10px; min-height:120px}
.tk-col.over{outline:2px dashed var(--orange); outline-offset:-2px}
.tk-col h3{font-size:1rem}
.tk-cards{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; min-height:20px}
.tk-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px; display:flex; flex-direction:column; gap:8px; cursor:grab}
.tk-card.dragging{opacity:.5}
.tk-card.done{opacity:.7}
.tk-move{font:inherit; font-size:.78rem; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--fg); padding:2px 4px; max-width:120px}
.tk-cal{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px}
.tk-wd{font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:700; padding:4px}
.tk-day{min-height:92px; border:1px solid var(--line); border-radius:10px; padding:4px; display:flex; flex-direction:column; gap:3px; background:var(--surface); min-width:0}
.tk-day.off{background:none; border-style:dashed; opacity:.5}
.tk-day.today{border-color:var(--orange); box-shadow:inset 0 0 0 1px var(--orange)}
.tk-dnum{font-size:.78rem; font-weight:700; color:var(--muted)}
.tk-chip{font:inherit; font-size:.75rem; text-align:left; border:0; border-radius:6px; padding:2px 6px; background:var(--accent-soft); color:var(--accent); cursor:pointer; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.tk-chip.late{background:var(--coral-soft); color:var(--coral)}
.tk-chip.now{background:var(--orange-soft); color:var(--hi)}
.tk-chip.done{text-decoration:line-through; opacity:.6}
.tk-pgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px}
.tk-pcard{display:flex; flex-direction:column; gap:6px; text-decoration:none; color:var(--fg)}
.tk-pcard:hover{border-color:var(--hover-line, var(--accent))}
.tk-drawer{width:min(560px,100%)}
.tk-bigtitle{font-size:1.25rem; font-weight:700}
.tk-grid{display:grid; grid-template-columns:110px minmax(0,1fr); gap:10px 12px; align-items:center}
.tk-grid label{font-weight:700; font-size:.92rem}
.tk-comments{list-style:none; margin:0 0 10px; padding:0; display:flex; flex-direction:column; gap:10px}
.tk-comments p{margin:2px 0 0}
.tk-comment{display:flex; flex-direction:column; gap:8px; align-items:flex-end}
@media (max-width:700px){
  .tk-day{min-height:64px}
  .tk-chip{font-size:.68rem; padding:1px 4px}
  .tk-meta .hint{display:none}
  .tk-board{grid-auto-columns:minmax(240px,85vw)}
}
/* menu de cima: com o item "Tarefas", entre 981 e 1180 px os rótulos ficam curtos para caber numa linha */
.nav-short{display:none}
@media (min-width:981px) and (max-width:1180px){ .nav-long{display:none} .nav-short{display:inline} }

/* ---------- relógio Pomodoro: cartão aberto e bolinha flutuante (arrasta, gruda na borda e se recolhe) ----------
   O tomate é desenhado em SVG; o anel laranja em volta vai esvaziando com o tempo. A bolinha fica por cima de
   tudo do site (mas abaixo dos painéis de confirmação) e não cobre a barra de navegação do celular. */
.pomo{position:fixed; z-index:38}
.pomo.is-bubble{transition:left .28s cubic-bezier(.2,.8,.2,1), top .28s cubic-bezier(.2,.8,.2,1), transform .35s ease, opacity .35s ease}
.pomo.dragging{transition:none}
.pomo.docked{transform:translateX(55%); opacity:.72}
.pomo.on-left.docked{transform:translateX(-55%)}
.pomo-bubble{position:relative; width:72px; height:72px; padding:0; border:0; border-radius:50%; background:none; cursor:grab; touch-action:none;
  filter:drop-shadow(0 8px 16px rgb(0 0 0 / .35)); display:grid; place-items:center}
.pomo.dragging .pomo-bubble{cursor:grabbing; transform:scale(1.08)}
.pomo-bubble .pomo-tomato{width:72px; height:72px}
.pomo-btime{position:absolute; left:50%; top:56%; transform:translate(-50%,-50%); font:800 .82rem/1 var(--f-body); color:#fff; text-shadow:0 1px 2px rgb(0 0 0 / .45); font-variant-numeric:tabular-nums; pointer-events:none}
.pomo-paused{position:absolute; right:2px; top:2px; width:22px; height:22px; border-radius:50%; background:var(--surface); color:var(--fg); font-size:.55rem; display:grid; place-items:center; border:1px solid var(--line); pointer-events:none}
.pomo-panel{width:min(340px, calc(100vw - 24px)); max-height:calc(100dvh - 120px); overflow-y:auto; display:flex; flex-direction:column; gap:12px; padding:16px;
  background:var(--surface); color:var(--fg); border:1px solid var(--line); border-radius:24px; box-shadow:0 18px 48px rgb(0 0 0 / .35)}
html.glass .pomo-panel{background:var(--glass-bg-strong); border-color:var(--glass-line); -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur)}
.pomo-modes{display:flex; margin:0}
.pomo-modes button{flex:1; padding:6px 8px; font-size:.85rem}
.pomo-face{position:relative; display:grid; place-items:center; margin:4px auto 0}
.pomo-time{position:absolute; top:56%; left:50%; transform:translate(-50%,-50%); font-size:1.7rem; font-weight:800; color:#fff; text-shadow:0 1px 3px rgb(0 0 0 / .4)}
.pomo-ring-bg{fill:none; stroke:var(--line); stroke-width:5}
.pomo-ring{fill:none; stroke:var(--orange); stroke-width:5; stroke-linecap:round; transition:stroke-dashoffset 1s linear}
.pomo-body{fill:#E23B2E}
.pomo-shine{fill:#fff; opacity:.28}
.pomo-leaf{fill:#2F8A4C}
.pomo-cfg summary{cursor:pointer}
.pomo-grid{display:grid; grid-template-columns:minmax(0,1fr) 90px; gap:8px 10px; align-items:center; margin:10px 0}
.pomo-grid label{font-size:.9rem; font-weight:600}
.pomo-open-btn{align-self:flex-start}

/* ---------- painel de Ajustes: preferências agrupadas (aparência, leitura, foco e movimento, privacidade) ---------- */
.adj-group{display:flex; flex-direction:column; gap:4px; padding-top:6px}
.adj-group>h3.label{margin:6px 0 2px}
.adj-group .toggle:last-child{border-bottom:0}
.adj-group+.adj-group{border-top:1px solid var(--line); padding-top:12px}

/* ---------- cada tipo de tela (data-device no <html>, descoberto pelo theme.js) ----------
   CELULAR: campos com letra de pelo menos 16 px (abaixo disso o iPhone dá zoom sozinho ao tocar no campo).
   TABLET e CELULAR: sem os efeitos de "passar o mouse", que no toque ficam presos na tela.
   TV (vista de longe, com controle remoto): letras e cartões bem maiores, margem de segurança nas bordas
   (muitas TVs cortam as beiradas da imagem), sempre o menu de cima (nunca a barra de baixo do celular),
   foco bem visível para saber onde o controle está, e sem desfoque de vidro, que pesa nos processadores de TV. */
html[data-device="phone"] :is(input,select,textarea){font-size:max(16px,1rem)}
@media (hover:none){
  html:is([data-device="phone"],[data-device="tablet"]) :is(.job,.talent,.cat,.tk-pcard):hover{border-color:var(--line)}
  html:is([data-device="phone"],[data-device="tablet"]).glass :is(.job,.talent,.cat):hover{border-color:var(--glass-line); box-shadow:var(--glass-hi), var(--glass-shadow)}
}
html[data-device="tv"]{font-size:clamp(20px, 1.4vw, 30px); --fs:clamp(21px, 1.5vw, 32px); --gap:clamp(24px, 2vw, 40px)}
html[data-device="tv"] .wrap{max-width:none; padding-left:5vw; padding-right:5vw}
html[data-device="tv"] main{padding-block:4vh 8vh}
html[data-device="tv"] .top{--top-h:clamp(76px, 7vh, 110px); --logo-h:clamp(26px, 2.4vw, 40px)}
html[data-device="tv"] .top .wrap{flex-wrap:nowrap}
html[data-device="tv"] .nav{display:flex!important; flex-wrap:nowrap}
html[data-device="tv"] :is(.tabbar,.menu-btn,.mcta,.pomo-bubble .pomo-paused){display:none!important}
html[data-device="tv"] #a11yBtn,html[data-device="tv"] .whoami,html[data-device="tv"] .top-actions [data-go="entrar"]{display:inline-flex!important}
html[data-device="tv"] body{padding-bottom:0!important}
html[data-device="tv"] .nav-long{display:none!important}
html[data-device="tv"] .nav-short{display:inline!important}
html[data-device="tv"] .nav :is(button,a){white-space:nowrap}
html[data-device="tv"] .layout{grid-template-columns:minmax(0,22vw) minmax(0,1fr)!important}
html[data-device="tv"] .detail{grid-template-columns:minmax(0,1fr) minmax(0,28vw)!important}
html[data-device="tv"] .tgrid{grid-template-columns:repeat(auto-fill,minmax(22vw,1fr))}
html[data-device="tv"] .cats{grid-template-columns:repeat(4,minmax(0,1fr))}
html[data-device="tv"] *{-webkit-backdrop-filter:none!important; backdrop-filter:none!important}
html[data-device="tv"].glass{--glass-bg:var(--glass-bg-strong)}
html[data-device="tv"] :focus{outline:none}
html[data-device="tv"] :focus-visible,html[data-device="tv"] :focus{outline:4px solid var(--orange)!important; outline-offset:4px; border-radius:14px;
  box-shadow:0 0 0 10px rgb(232 101 15 / .22)!important}
html[data-device="tv"] :is(.job,.talent,.cat,.tk-card,.tk-pcard,.btn,.nav :is(button,a)):focus{transform:scale(1.04); transition:transform .15s ease}
html.calm[data-device="tv"] :is(.job,.talent,.cat,.tk-card,.tk-pcard,.btn,.nav :is(button,a)):focus{transform:none}
html[data-device="tv"] .drawer{width:min(40vw,100%)}

/* ---------- aviso de cookies: cookie desenhado (massa dourada, borda tostada, gotas de chocolate e farelinhos) ---------- */
.consent{align-items:center}
.cookie-ico{width:48px; height:48px; flex:none; filter:drop-shadow(0 3px 4px rgb(0 0 0 / .25))}
.ck-edge{fill:#B8763A}
.ck-dough{fill:#DFA65F}
.ck-chip{fill:#4A2914}
.ck-dot{fill:#F6D59C; opacity:.75}
.ck-crumb{fill:#C98B46}
.consent-actions{gap:8px; flex-wrap:nowrap; flex:none}
@media (max-width:600px){
  .consent{display:grid; grid-template-columns:44px minmax(0,1fr); gap:10px 12px}
  .consent .cookie-ico{width:40px; height:40px; align-self:start}
  .consent-actions{grid-column:1 / -1; justify-content:flex-end}
}

/* área do admin: barra de abas no topo das telas do dono */
.adm-nav button[aria-current="page"]{background:var(--accent); color:var(--accent-ink); border-color:var(--accent)}
.adm-switch{font-size:.95em}
.adm-bar-fixed{position:fixed; left:50%; transform:translateX(-50%); bottom:16px; z-index:33; display:flex; flex-wrap:wrap; align-items:center; gap:8px; max-width:calc(100% - 32px); padding:10px 14px; border-radius:999px; background:var(--surface); color:var(--fg); border:2px solid var(--accent); box-shadow:0 10px 30px rgba(0,0,0,.35)}
.adm-bar-fixed .label{color:var(--accent)}
.adm-bar-what{font-weight:600}
.mm-switch{padding:10px 16px; list-style:none}
@media (max-width:700px){ .adm-bar-fixed{bottom:96px; border-radius:18px; justify-content:center} }
/* some quando um painel (formulário, confirmação) está aberto, para não cobrir os botões dele */
body:has(#layer > *) .adm-bar-fixed{display:none}

/* TROCAR DE PAPEL (menu): cartão com o ícone de "aleatório" (setas cruzadas). Ao tocar, as setas
   dão meia-volta e o site passa a mostrar a interface do outro papel (cliente ↔ freelancer). */
.mm-role{width:100%; display:flex; align-items:center; gap:14px; margin:8px 0 4px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); color:var(--fg); text-align:left; cursor:pointer; font:inherit}
.mm-role:hover{background:var(--sunken)}
.mm-role:focus-visible{outline:3px solid var(--orange); outline-offset:2px}
.mm-role-ico{flex:none; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:var(--accent-ink)}
.role-anim{display:block; width:24px; height:24px}
.role-anim svg{display:block; width:100% !important; height:100% !important}
.role-anim .ico-static{fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.role-anim.on path{stroke:currentColor} /* a animação Lottie usa a cor do tema, não a cor gravada no arquivo */
.mm-role-txt{display:flex; flex-direction:column; min-width:0; line-height:1.25}
.mm-role-k{font-size:.8rem; color:var(--muted)}
.mm-role-txt b{font-size:1.08rem}
.mm-role-h{font-size:.86rem; color:var(--accent); font-weight:600}
.mm-role-seg{margin-left:auto; display:flex; padding:3px; border-radius:999px; background:var(--sunken); font-size:.74rem; font-weight:700}
.mm-role-seg span{padding:4px 9px; border-radius:999px; color:var(--muted)}
.mm-role-seg span.on{background:var(--surface); color:var(--fg); box-shadow:0 1px 3px rgb(0 0 0 / .12)}
@media (max-width:380px){ .mm-role-seg{display:none} }
.btn.role-sub{width:100%; display:flex; align-items:center; justify-content:center; gap:12px; padding:8px 10px; border-radius:14px; white-space:normal; text-align:left; font-weight:400; font-size:.76rem; line-height:1.38; letter-spacing:.02em; color:var(--muted)}
.btn.role-sub:hover{background:var(--sunken); color:var(--fg); border-color:transparent}
.btn.role-sub .mm-role-ico{width:38px; height:38px}
.btn.role-sub .role-anim{width:20px; height:20px}
.role-sub-txt{display:block; font-weight:400}
.empty .btn .ico{width:18px; height:18px; margin-right:6px; vertical-align:-3px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

/* SQUADS (círculos como no Google+): em cima as pessoas, embaixo um círculo por squad.
   Cada cor de squad vira a variável --sq; as fotos de quem está dentro ficam em volta da
   borda (--a é o ângulo de cada foto, calculado no app.js). Ao arrastar alguém, os círculos
   se destacam; o círculo embaixo do dedo/mouse cresce ("over") e, ao receber gente, dá um
   pulinho ("bump"). Com "menos movimento" ligado, nada disso se mexe. */
.sq-c0{--sq:var(--accent); --sq-soft:var(--accent-soft)} .sq-c1{--sq:var(--plum); --sq-soft:var(--plum-soft)}
.sq-c2{--sq:var(--sun); --sq-soft:var(--sun-soft)} .sq-c3{--sq:var(--coral); --sq-soft:var(--coral-soft)}
.sq-c4{--sq:var(--ok); --sq-soft:color-mix(in srgb, var(--ok) 16%, var(--surface))} .sq-c5{--sq:var(--hi); --sq-soft:var(--orange-soft)}
.av.xs{width:30px; height:30px; font-size:.7rem; border:2px solid var(--surface)}
.sq-people{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px}
.sq-person{display:flex; align-items:center; gap:10px; padding:8px 10px; border:1.5px solid var(--line); border-radius:12px; background:var(--surface); color:var(--fg); font:inherit; text-align:left; cursor:grab; position:relative; min-width:0}
.sq-person:hover{border-color:var(--muted)}
.sq-person.on{border-color:var(--accent); background:var(--accent-soft)}
.sq-person.on::after{content:"✓"; position:absolute; top:-7px; left:-7px; width:20px; height:20px; border-radius:50%; background:var(--accent); color:var(--accent-ink); display:grid; place-items:center; font-size:.72rem; font-weight:800}
.sq-person:active{cursor:grabbing}
.sq-person .tx{display:flex; flex-direction:column; min-width:0; line-height:1.3}
.sq-person .tx b,.sq-person .tx small{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.sq-person .tx small{color:var(--muted); font-size:.8rem}
.sq-in{margin-left:auto; flex:none; min-width:22px; height:22px; padding:0 6px; border-radius:999px; background:var(--sunken); color:var(--muted); font-size:.75rem; font-weight:800; display:grid; place-items:center}
.sq-circles{display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:18px}
.sq-cell{display:grid; place-items:center; padding:6px}
.sq-circle{--d:176px; position:relative; width:var(--d); aspect-ratio:1; border-radius:50%; background:var(--sq-soft); border:2px solid var(--sq); transition:transform .2s ease, box-shadow .2s ease}
.sq-circle.open{box-shadow:0 0 0 5px var(--surface), 0 0 0 8px var(--sq)}
.sq-newc{background:none; border:2px dashed var(--line); --sq:var(--muted)}
.sq-newc:hover{border-color:var(--muted)}
#sq.dragging .sq-circle{box-shadow:0 0 0 4px color-mix(in srgb, var(--sq) 22%, transparent)}
.sq-circle.over{transform:scale(1.08); box-shadow:0 0 0 7px color-mix(in srgb, var(--sq) 35%, transparent)!important}
.sq-circle.bump{animation:sq-bump .6s ease}
@keyframes sq-bump{30%{transform:scale(1.1) rotate(-6deg)} 60%{transform:scale(.97) rotate(3deg)} 100%{transform:none}}
.sq-ring{all:unset; box-sizing:border-box; position:absolute; inset:0; border-radius:50%; cursor:pointer; display:grid; place-items:center}
.sq-ring:focus-visible{outline:3px solid var(--fg); outline-offset:4px}
.sq-mid{display:flex; flex-direction:column; align-items:center; gap:2px; max-width:62%; text-align:center; line-height:1.2}
.sq-mid b{font-family:var(--f-display); font-size:1.02rem; overflow-wrap:anywhere}
.sq-mid .mono{font-size:1.5rem; font-weight:800; color:var(--sq)}
.sq-mid small{font-weight:800; color:var(--sq)}
.sq-newc .sq-mid b{font-size:2rem; color:var(--muted); line-height:1}
.sq-newc .sq-mid span{color:var(--muted); font-weight:700}
/* cada foto: gira até o ângulo dela, anda até a borda e desgira, para ficar em pé */
.sq-dot{position:absolute; left:50%; top:50%; width:30px; height:30px; margin:-15px 0 0 -15px; transform:rotate(var(--a)) translate(calc(var(--d) / 2 - 2px)) rotate(calc(-1 * var(--a))); pointer-events:none}
.sq-new-form{position:absolute; inset:14%; display:flex; flex-direction:column; justify-content:center; gap:6px; text-align:center}
.sq-new-form .input{padding:6px 10px; font-size:.9rem; text-align:center}
.sq-new-form .row{justify-content:center}
.sq-detail{border-top:4px solid var(--sq)}
.sq-swatch{width:30px; height:30px; border-radius:50%; background:var(--sq); border:3px solid var(--surface); box-shadow:0 0 0 1.5px var(--line); cursor:pointer; padding:0; flex:none}
.sq-swatch[aria-checked="true"]{box-shadow:0 0 0 3px var(--fg)}
span.sq-swatch{cursor:default; width:22px; height:22px}
.sq-members{list-style:none; margin:0; padding:0; display:flex; flex-direction:column}
.sq-members li{display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--line)}
.sq-members li:first-child{border-top:0}
.sq-members .tx{display:flex; flex-direction:column; min-width:0; flex:1; color:inherit; text-decoration:none; line-height:1.3}
.sq-members .tx small{color:var(--muted); font-size:.82rem}
.btn.danger{color:var(--coral)}
.sq-ghost{position:fixed; top:-100px; left:0; padding:6px 12px; border-radius:999px; background:var(--accent); color:var(--accent-ink); font-weight:800; font-size:.85rem}
@media (max-width:700px){
  .sq-circles{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px} .sq-circle{--d:142px}
  .sq-people{grid-template-columns:1fr}
  .av.xs,.sq-dot{width:24px; height:24px} .sq-dot{margin:-12px 0 0 -12px}
}

/* foto de perfil ampliada ao tocar (openPhoto em app.js) */
img.av{cursor:zoom-in}
:is(a,button,label,[data-go],[data-act]) img.av{cursor:inherit}
.photo-zoom{position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:16px; background:rgb(10 20 20 / .78); cursor:zoom-out; animation:pzFade .18s ease-out}
.photo-zoom figure{margin:0; display:grid; justify-items:center; gap:12px; animation:pzPop .22s cubic-bezier(.2,.8,.2,1)}
.photo-zoom img{width:min(420px, calc(100vw - 32px), calc(100dvh - 120px)); aspect-ratio:1; object-fit:cover; border-radius:50%; background:var(--sunken); box-shadow:0 20px 60px rgb(0 0 0 / .45)}
.photo-zoom figcaption{color:#fff; font-family:var(--f-display); font-weight:700; font-size:1.1rem; text-align:center}
.photo-zoom-x{position:absolute; top:max(12px, env(safe-area-inset-top)); right:12px; width:44px; height:44px; border:0; border-radius:50%; background:rgb(255 255 255 / .15); color:#fff; font-size:1.6rem; line-height:1; cursor:pointer}
.photo-zoom-x:focus-visible{outline:3px solid #fff; outline-offset:2px}
@keyframes pzFade{from{opacity:0}}
@keyframes pzPop{from{transform:scale(.6); opacity:0}}

/* ---------- topo sem magenta: degradê preto translúcido que some para transparente ----------
   Vence as camadas anteriores (identidade Osmo e vidro líquido). O fio colorido de baixo some. */
html .top,html.glass .top{background:linear-gradient(to bottom, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .32) 60%, rgb(0 0 0 / 0) 100%); background-color:transparent;
  box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none}
html body::before,html.glass body::before{background:rgb(0 0 0 / .62); -webkit-backdrop-filter:none; backdrop-filter:none}
.top::after{display:none}
/* desfoque atrás do topo: o conteúdo que passa por trás fica borrado (some aos poucos para baixo),
   e o texto branco do menu continua legível mesmo sobre páginas claras */
.top::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  -webkit-backdrop-filter:blur(14px) saturate(140%); backdrop-filter:blur(14px) saturate(140%);
  -webkit-mask-image:linear-gradient(to bottom, #000 55%, transparent 100%); mask-image:linear-gradient(to bottom, #000 55%, transparent 100%)}

/* ---------- topo no tema claro: vidro branco que some para transparente, logo positivo em bordô Osmo ----------
   Vale quando a pessoa escolheu "claro" ou "igual ao sistema" com o sistema no claro. */
html[data-theme="light"] .top{background:linear-gradient(to bottom, rgb(255 255 255 / .94) 0%, rgb(255 255 255 / .78) 60%, rgb(255 255 255 / 0) 100%); color:var(--brand)}
html[data-theme="light"] body::before{background:rgb(255 255 255 / .94)}
html[data-theme="light"] .brand{color:var(--brand)}
html[data-theme="light"] .brand .sub{color:var(--brand); opacity:.85; border-left-color:rgb(122 11 60 / .3)}
html[data-theme="light"] .nav :is(button,a){color:rgb(122 11 60 / .78)}
html[data-theme="light"] .nav :is(button,a):hover{background:rgb(122 11 60 / .07); color:var(--brand)}
html[data-theme="light"] .nav :is(button,a)[aria-current="page"]{background:rgb(122 11 60 / .08); color:var(--brand)}
html[data-theme="light"] .top .btn:not(.primary):not(.hl),html[data-theme="light"].glass .top .btn:not(.primary):not(.hl){background:rgb(122 11 60 / .06); color:var(--brand); border-color:rgb(122 11 60 / .16); box-shadow:none}
html[data-theme="light"] .top .btn:not(.primary):not(.hl):hover,html[data-theme="light"].glass .top .btn:not(.primary):not(.hl):hover{background:rgb(122 11 60 / .12); border-color:rgb(122 11 60 / .3)}
html[data-theme="light"] .top .btn.primary{background:var(--brand); color:#fff; border-color:var(--brand)}
html[data-theme="light"] .top .btn[data-go="panorama"]{background:rgb(190 18 60 / .08); border-color:rgb(190 18 60 / .24); color:var(--brand)}
html[data-theme="light"] .top .top-tools{background:rgb(122 11 60 / .06); border-color:rgb(122 11 60 / .16); box-shadow:none}
html[data-theme="light"] .top .top-tool{color:rgb(122 11 60 / .75)}
html[data-theme="light"] .top .top-tool:hover{background:rgb(122 11 60 / .12); color:var(--brand)}
html[data-theme="light"] .top .top-tool[aria-current="page"]{background:rgb(122 11 60 / .2); color:var(--brand)}
html[data-theme="light"] .top .whoami{background:rgb(122 11 60 / .06); border-color:rgb(122 11 60 / .16); color:var(--brand); box-shadow:none}
html[data-theme="light"] .top .whoami:hover{background:rgb(122 11 60 / .12); border-color:rgb(122 11 60 / .3)}
html[data-theme="light"] .menu-btn{color:var(--brand); border-color:rgb(122 11 60 / .25); background:rgb(122 11 60 / .06)}
@media (prefers-color-scheme: light){
html:not([data-theme]) .top{background:linear-gradient(to bottom, rgb(255 255 255 / .94) 0%, rgb(255 255 255 / .78) 60%, rgb(255 255 255 / 0) 100%); color:var(--brand)}
html:not([data-theme]) body::before{background:rgb(255 255 255 / .94)}
html:not([data-theme]) .brand{color:var(--brand)}
html:not([data-theme]) .brand .sub{color:var(--brand); opacity:.85; border-left-color:rgb(122 11 60 / .3)}
html:not([data-theme]) .nav :is(button,a){color:rgb(122 11 60 / .78)}
html:not([data-theme]) .nav :is(button,a):hover{background:rgb(122 11 60 / .07); color:var(--brand)}
html:not([data-theme]) .nav :is(button,a)[aria-current="page"]{background:rgb(122 11 60 / .08); color:var(--brand)}
html:not([data-theme]) .top .btn:not(.primary):not(.hl),html:not([data-theme]).glass .top .btn:not(.primary):not(.hl){background:rgb(122 11 60 / .06); color:var(--brand); border-color:rgb(122 11 60 / .16); box-shadow:none}
html:not([data-theme]) .top .btn:not(.primary):not(.hl):hover,html:not([data-theme]).glass .top .btn:not(.primary):not(.hl):hover{background:rgb(122 11 60 / .12); border-color:rgb(122 11 60 / .3)}
html:not([data-theme]) .top .btn.primary{background:var(--brand); color:#fff; border-color:var(--brand)}
html:not([data-theme]) .top .btn[data-go="panorama"]{background:rgb(190 18 60 / .08); border-color:rgb(190 18 60 / .24); color:var(--brand)}
html:not([data-theme]) .top .top-tools{background:rgb(122 11 60 / .06); border-color:rgb(122 11 60 / .16); box-shadow:none}
html:not([data-theme]) .top .top-tool{color:rgb(122 11 60 / .75)}
html:not([data-theme]) .top .top-tool:hover{background:rgb(122 11 60 / .12); color:var(--brand)}
html:not([data-theme]) .top .top-tool[aria-current="page"]{background:rgb(122 11 60 / .2); color:var(--brand)}
html:not([data-theme]) .top .whoami{background:rgb(122 11 60 / .06); border-color:rgb(122 11 60 / .16); color:var(--brand); box-shadow:none}
html:not([data-theme]) .top .whoami:hover{background:rgb(122 11 60 / .12); border-color:rgb(122 11 60 / .3)}
html:not([data-theme]) .menu-btn{color:var(--brand); border-color:rgb(122 11 60 / .25); background:rgb(122 11 60 / .06)}
}

/* ---------- tema claro um pouco mais vivo e com contornos definidos ----------
   Os cartões de vidro tinham borda branca sobre fundo branco (sumia): agora a borda é um bordô
   translúcido. Rosa, laranja suave e as manchas de luz do fundo ficam um tom mais fortes. */
:root[data-theme="light"]{--bg:#F7F3F7; --sunken:#F5E6EF; --line:#CC9DBB; --accent-soft:#FBDCEA; --orange-soft:#FFE3C7;
  --glass-line:rgb(133 11 66 / .2); --glass-edge:rgb(133 11 66 / .14); --glass-sunken:rgb(133 11 66 / .07);
  --glass-shadow:0 10px 30px -6px rgb(97 9 48 / .14), 0 2px 6px -2px rgb(97 9 48 / .08);
  --glass-glow-1:rgb(249 115 22 / .24); --glass-glow-2:rgb(180 16 92 / .18); --glass-glow-3:rgb(255 82 144 / .26)}
@media (prefers-color-scheme: light){:root:not([data-theme]){--bg:#F7F3F7; --sunken:#F5E6EF; --line:#CC9DBB; --accent-soft:#FBDCEA; --orange-soft:#FFE3C7;
  --glass-line:rgb(133 11 66 / .2); --glass-edge:rgb(133 11 66 / .14); --glass-sunken:rgb(133 11 66 / .07);
  --glass-shadow:0 10px 30px -6px rgb(97 9 48 / .14), 0 2px 6px -2px rgb(97 9 48 / .08);
  --glass-glow-1:rgb(249 115 22 / .24); --glass-glow-2:rgb(180 16 92 / .18); --glass-glow-3:rgb(255 82 144 / .26)}}

/* ---------- top 10 de filmes e séries (dados do TMDB) ----------
   Cada linha é uma fileira de cartazes que anda para os lados (com o dedo, o mouse ou as setas da TV).
   O número grande da posição fica atrás do canto do cartaz, em rosa da Osmo. */
.t10{display:flex; flex-direction:column; gap:36px; padding-block:8px 24px}
.t10-head{background:var(--brand); background-image:radial-gradient(ellipse at center, transparent 0%, rgb(0 0 0 / .4) 100%); color:var(--on-brand); border-radius:var(--r); padding:40px 48px}
.t10-head .label{color:var(--pink)}
.t10-head h1{margin-top:6px}
.t10-head .seg{background:rgb(255 255 255 / .12)}
.t10-head .seg button{color:rgb(255 255 255 / .8)}
.t10-head .seg button[aria-pressed="true"],html.glass .t10-head .seg button[aria-pressed="true"]{background:#fff; color:var(--brand-deep); box-shadow:none}
html.glass .t10-head .seg{background:rgb(255 255 255 / .12); box-shadow:inset 0 0 0 1px rgb(255 255 255 / .18)}
.t10-sec{display:flex; flex-direction:column; gap:14px; min-width:0}
.t10-row{list-style:none; margin:0; padding:8px 4px 16px; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(150px,190px); gap:22px;
  overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:thin; scroll-padding-inline:4px}
.t10-row>li{scroll-snap-align:start; min-width:0}
.t10-card{display:flex; flex-direction:column; gap:10px; border-radius:var(--r); outline-offset:6px; cursor:default}
.t10-art{position:relative; padding-left:28px}
.t10-rank{position:absolute; left:-6px; bottom:-10px; z-index:1; font-family:var(--f-display); font-weight:700; font-size:5.2rem; line-height:1;
  color:var(--bg); -webkit-text-stroke:2px var(--pink); paint-order:stroke fill; letter-spacing:-.06em; pointer-events:none}
.t10-poster{aspect-ratio:2/3; border-radius:var(--r); overflow:hidden; background:var(--sunken); border:1px solid var(--line); display:grid; place-items:center}
.t10-poster img{width:100%; height:100%; object-fit:cover; display:block}
.t10-mark{width:46%; fill:var(--muted); opacity:.5}
.t10-info{display:flex; flex-direction:column; gap:2px; min-width:0; padding-left:28px}
.t10-info b{font-size:.98rem; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.t10-info .muted{font-size:.86rem}
.t10-star{color:var(--sun)}
.t10-credit{font-size:.82rem; max-width:70ch}
@media (max-width:600px){ .t10-head{padding:28px 22px} .t10-head .seg button{padding:8px 10px; font-size:.95rem} .t10-row{grid-auto-columns:minmax(128px,150px); gap:16px} .t10-rank{font-size:4.2rem} }
html[data-device="tv"] .t10-row{grid-auto-columns:15vw; padding:18px 14px 22px; scrollbar-width:none}
html[data-device="tv"] .t10-card:focus{transform:scale(1.06); transition:transform .15s ease}
html.calm[data-device="tv"] .t10-card:focus{transform:none}

/* Trilha de navegação visível em todas as telas do aplicativo. */
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding-block:8px;border-bottom:1px solid var(--line);margin-bottom:14px;font-size:.86rem}
.breadcrumbs-label{color:var(--muted);font-size:.82rem}
.breadcrumbs ol{display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.breadcrumbs li{display:flex;align-items:center;gap:6px;min-width:0}
.breadcrumbs a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;padding-block:2px}
.breadcrumbs [aria-current="page"]{font-weight:700;color:var(--fg)}
.breadcrumbs-separator{color:var(--muted)}
.breadcrumbs[hidden]{display:none!important;margin:0!important;padding:0!important}
@media(max-width:700px){.breadcrumbs{gap:2px 8px;padding-block:6px;margin-bottom:12px}.breadcrumbs-label{width:100%;font-size:.78rem}}

/* Continua o fundo da ação até a borda inferior, atrás da navegação flutuante. */
@media (max-width:700px){
  .mcta::after{content:"";position:absolute;top:100%;left:0;right:0;
    height:calc(84px + env(safe-area-inset-bottom,0px));pointer-events:none;
    background:linear-gradient(to bottom,var(--surface),color-mix(in srgb,var(--surface) 85%,transparent) 55%,color-mix(in srgb,var(--surface) 65%,transparent))}
  html.glass .mcta::after{background:linear-gradient(to bottom,var(--glass-bg-strong),color-mix(in srgb,var(--glass-bg-strong) 80%,transparent) 55%,color-mix(in srgb,var(--glass-bg-strong) 55%,transparent))}
}

/* Links de navegação mantêm o visual dos controles e o comportamento nativo de links. */
a:is(.job,.talent,.cat,.btn,.top-tool,.whoami,.mm-user),.nav a,.mm-list a,.tabbar a{text-decoration:none}
a.job,a.talent,a.cat{color:var(--fg)}
.footer-links{display:flex;gap:8px 20px;flex-wrap:wrap;padding-block:14px;font-size:.9rem}
.footer-links a{color:inherit;text-underline-offset:3px}
.pagination{justify-content:center;margin-block:24px}
.tgrid>.pagination{grid-column:1/-1}
.listhead h1{font-size:clamp(1.6rem,3vw,2rem)}
.brief h2.label{margin:0;font-size:.75rem;line-height:inherit}
.seo-document{max-width:850px;padding-block:12px 40px}
.seo-document h1{font-size:clamp(1.8rem,4vw,2.8rem)}
.seo-document h2{font-size:1.35rem;margin-top:28px}
.seo-document p,.seo-document ul,.seo-document ol{margin-block:12px}
.seo-document table{width:100%;border-collapse:collapse;margin-block:20px}
.seo-document th,.seo-document td{text-align:left;vertical-align:top;padding:12px;border:1px solid var(--line)}
