:root{
  --cemn-navy:#151c6b;
  --cemn-navy-deep:#0a0f3a;
  --cemn-blue:#2d3fa8;
  --cemn-gold:#c9a84c;
  --cemn-gold-light:#e8c97a;
  --cemn-cream:#f7f4ec;
}
html{scroll-behavior:smooth}
body.team-shell{
  min-height:100vh;
  background:
    radial-gradient(circle at 12% 9%,rgba(232,201,122,.18) 0 1px,transparent 2px),
    radial-gradient(circle at 73% 6%,rgba(255,255,255,.35) 0 1px,transparent 2px),
    radial-gradient(circle at 89% 16%,rgba(255,255,255,.22) 0 1.5px,transparent 2.5px),
    radial-gradient(circle at 32% 20%,rgba(232,201,122,.13) 0 1px,transparent 2px),
    linear-gradient(180deg,var(--cemn-navy-deep) 0,var(--cemn-navy) 270px,var(--bg,#f4f2ec) 270px);
  background-size:190px 190px,230px 230px,280px 280px,340px 340px,100% 100%;
}
body.team-shell::before,
body.team-shell::after{
  content:"";
  position:fixed;
  z-index:0;
  width:5px;height:5px;border-radius:50%;
  background:rgba(255,255,255,.8);
  box-shadow:19vw 5vh rgba(232,201,122,.55),41vw 13vh rgba(255,255,255,.5),67vw 7vh rgba(232,201,122,.4),83vw 18vh rgba(255,255,255,.6);
  animation:cemnTwinkle 3.6s ease-in-out infinite;
  pointer-events:none
}
body.team-shell::before{top:74px;left:8vw}
body.team-shell::after{top:120px;left:18vw;transform:scale(.55);animation-delay:1.4s}
@keyframes cemnTwinkle{0%,100%{opacity:.18;transform:scale(.7)}50%{opacity:.9;transform:scale(1.2)}}
.team-shell .top{background:rgba(10,15,58,.86)!important;backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.12)}
.team-shell .wrap{position:relative;z-index:1}
.team-shell .headline h1,.team-shell .title h1,.team-shell .head h1{color:#fff!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:400!important}
.team-shell .headline p,.team-shell .title p,.team-shell .head p{color:rgba(255,255,255,.72)!important}
.team-shell .alert,.team-shell .warning{box-shadow:0 8px 28px rgba(8,12,52,.16)}
.team-shell .results,.team-shell .profile,.team-shell .card,.team-shell .family-card,.team-shell .search{
  border-color:rgba(21,28,107,.1)!important;
  box-shadow:0 16px 46px rgba(8,12,52,.1)!important
}
.team-shell .search input,.team-shell .search select{min-height:46px}
.team-shell button,.team-shell a,.team-shell input,.team-shell select,.team-shell textarea{touch-action:manipulation}
.team-shell .person{min-height:76px}
.team-shell .add,.team-shell .primary{box-shadow:0 7px 20px rgba(201,168,76,.24)}
.team-shell .photo{box-shadow:0 18px 50px rgba(21,28,107,.24)!important}
@media(max-width:800px){
  body.team-shell{background:linear-gradient(180deg,var(--cemn-navy-deep) 0,var(--cemn-navy) 360px,var(--bg,#f4f2ec) 600px)}
  .team-shell .wrap{padding-left:14px!important;padding-right:14px!important}
  .team-shell .top-inner{padding:11px 14px!important}
  .team-shell .headline,.team-shell .title,.team-shell .head{margin-bottom:18px!important}
  .team-shell .search{display:grid!important;grid-template-columns:1fr!important;padding:12px!important}
  .team-shell .search button{min-height:46px;width:100%}
  .team-shell .results,.team-shell .profile,.team-shell .card,.team-shell .family-card{border-radius:18px!important}
  .team-shell .person{padding:13px!important}
  .team-shell input,.team-shell select,.team-shell textarea{font-size:16px!important}
}
/* Faixa azul também no computador: a transição para o fundo claro fica abaixo dos atalhos. */
body.team-shell{background:linear-gradient(180deg,var(--cemn-navy-deep) 0,var(--cemn-navy) 360px,var(--bg,#f4f2ec) 600px)}
/* Títulos de todas as telas da equipe: mesmo padrão do Cadastro (faixa azul, texto branco). */
.team-shell main>h1,.team-shell .wrap>h1{color:#fff!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:400!important;margin:6px 0 8px}
.team-shell main>.intro,.team-shell .wrap>.intro{color:rgba(255,255,255,.74)!important}
/* Atalhos do Cadastro: quatro cartões iguais e alinhados (dois por linha no celular). */
.team-shell .quick-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:none!important;margin:18px 0 26px!important}
.team-shell .quick-actions .quick-card{display:flex!important;flex-direction:column;justify-content:space-between;gap:8px;min-height:112px;box-sizing:border-box;padding:14px 16px!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(8,12,52,.14)}
.team-shell .quick-card span{font-size:15px;line-height:1.25}
.team-shell .quick-card b{font-size:26px;line-height:1}
@media(max-width:620px){.team-shell .quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:14px 0 18px!important}.team-shell .quick-actions .quick-card{min-width:0!important;min-height:76px;padding:9px 8px!important;border-radius:14px!important;gap:4px}.team-shell .quick-card span{font-size:12px;line-height:1.2}.team-shell .quick-card b{font-size:19px}}
@media(prefers-reduced-motion:reduce){body.team-shell::before,body.team-shell::after{animation:none}}

.team-shell .brand,.team-shell .internal-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;min-width:0}
.internal-logo{display:block;width:auto;height:34px;max-width:138px;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 4px 10px rgba(5,8,42,.24));flex:none}
.internal-brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:520px){.internal-logo{height:29px;max-width:110px}.internal-brand-text{font-size:12px}}

/* Título de bloco: chip azul com texto branco e estrelinhas no fundo (degradê mantido). */
body.team-shell{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath fill='%23e8c97a' fill-opacity='.35' d='M20 14l1.8 4.2 4.2 1.8-4.2 1.8L20 26l-1.8-4.2L14 20l4.2-1.8zM88 70l1.4 3.2 3.2 1.4-3.2 1.4L88 79l-1.4-3.2-3.2-1.4 3.2-1.4z'/%3E%3C/svg%3E"),radial-gradient(circle at 12% 9%,rgba(232,201,122,.18) 0 1px,transparent 2px),radial-gradient(circle at 73% 6%,rgba(255,255,255,.35) 0 1px,transparent 2px),radial-gradient(circle at 89% 16%,rgba(255,255,255,.22) 0 1.5px,transparent 2.5px),radial-gradient(circle at 32% 20%,rgba(232,201,122,.13) 0 1px,transparent 2px),linear-gradient(180deg,var(--cemn-navy-deep) 0,var(--cemn-navy) 270px,var(--bg,#f4f2ec) 270px);background-size:120px 120px,190px 190px,230px 230px,280px 280px,340px 340px,100% 100%;background-repeat:repeat,repeat,repeat,repeat,repeat,no-repeat}
.chip-titulo,fieldset>legend,.section-title{display:inline-block;background:var(--cemn-blue);color:#fff;font-weight:800;padding:5px 14px;border-radius:999px;font-size:14px;letter-spacing:.2px}
fieldset>legend::before,.section-title::before{content:"\2726";color:var(--cemn-gold-light);margin-right:7px}
