/* FJU Connect JAPAN — fichas claras e compactas no painel administrativo. */
#jovens .youth-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
#jovens .youth-page-header h2{margin:0;color:#17264b;font-size:21px}
#jovens .youth-page-subtitle{font-size:12.5px;color:#667896;line-height:1.55;max-width:560px;margin:7px 0 0}
#youth-add-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:8px;min-height:44px;padding:11px 18px;border-radius:12px;background:#253b75;color:white;font-size:13px}
#youth-add-toggle:focus-visible,#youth-form-close:focus-visible{outline:3px solid #93bbfa;outline-offset:2px}
#jovens .youth-add-icon{font-size:21px;font-weight:400;line-height:0.7}
#youth-entry-panel{padding:17px;background:linear-gradient(150deg,#f5f8fe,#fbfcff);border:1px solid #dbe4f1;border-radius:17px;margin-bottom:16px}
#youth-entry-panel.hidden{display:none}
#jovens .youth-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
#jovens .youth-entry-heading h3{margin:0;color:#22365f;font-size:17px}
#youth-form-close{font-size:12px;padding:8px 13px}
#jovens #youth-form label{font-size:12px}
#jovens #youth-form .actions{margin:17px 0 2px}
#jovens #youth-form .actions button{min-height:42px;font-size:13px}
#jovens #youth-form input:not([type=checkbox]):not([type=hidden]),
#jovens #youth-form select{max-width:100%;min-width:0}
#jovens #youth-message{font-size:12.5px;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}
#jovens .youth-saved-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:21px 0 11px}
#jovens .youth-saved-heading h3{margin:0;color:#192b52;font-size:17px}
#jovens .youth-saved-count{display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border-radius:30px;background:#edf3fc;color:#294a83;font-size:11px;font-weight:800;white-space:nowrap}
#jovens .youth-list-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:14px}
#jovens .youth-list-controls>div{min-width:0}
#jovens .youth-list-controls label{margin:0 0 6px;font-size:12px;color:#4b5871}
#jovens .youth-list-controls input,#jovens .youth-list-controls select{min-height:44px;width:100%;max-width:100%;font-size:16px}
#youth-refresh{min-height:44px;padding:11px 13px;align-self:end;white-space:nowrap;font-size:12px}
#jovens .youth-polo-filter{margin:0 0 12px}
#jovens .youth-polo-filter.hidden{display:none}
#youth-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,315px),1fr));gap:12px;margin-top:10px}
#youth-list .youth-card{
 position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;
 padding:15px;background:linear-gradient(155deg,#fff 0%,#f9fbff 100%);
 border:1px solid #dce5f3;border-left:3px solid #738fc8;border-radius:16px;
 box-shadow:0 4px 14px rgba(22,42,84,.045)
}
#youth-list .youth-card-main{display:flex;align-items:center;gap:12px;min-width:0}
#youth-list .youth-avatar{
 display:flex;align-items:center;justify-content:center;flex:0 0 62px;
 width:62px;height:62px;overflow:hidden;border:2px solid #dce5f3;border-radius:16px;
 background:linear-gradient(145deg,#e1ebfc,#cbdcf8);color:#31558f;
 font-weight:800;font-size:21px;text-align:center;letter-spacing:.5px
}
#youth-list .youth-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#youth-list .youth-card-info{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;flex:1}
#youth-list .youth-card-name{margin:0;font-size:15px;font-weight:750;line-height:1.26;overflow-wrap:anywhere;color:#1b2b50}
#youth-list .youth-card-metadata{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#677794;font-size:11.5px;line-height:1.3}
#youth-list .youth-rank{display:inline-flex;align-items:center;max-width:100%;padding:4px 9px;border-radius:100px;font-size:10px;font-weight:750;letter-spacing:.05px;background:#eef2f8;color:#4a5b77}
#youth-list .youth-rank[data-rank=Firme]{background:#e5f0ff;color:#2058a6}
#youth-list .youth-rank[data-rank=CPO]{background:#f0eafd;color:#6b46b2}
#youth-list .youth-rank[data-rank=Colaborador]{background:#e3f6ee;color:#217455}
#youth-list .youth-rank[data-rank=Obreiro]{background:#fff0d6;color:#8a5a13}
#youth-list .youth-rank[data-rank=Coordenador]{background:#e8e6ff;color:#493997}
#youth-list .youth-card-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #e8edf6}
#youth-list .youth-card-actions button{font-size:12px;padding:9px 14px;min-height:39px}
#youth-list .youth-card-actions .youth-view-button{background:#253b75;color:#fff}
#youth-list .youth-card-actions .youth-edit-button{background:#e9eef7;color:#29436e}
#youth-list .youth-card-more{min-width:0;flex:1}
#youth-list .youth-card-more summary{
 display:flex;justify-content:flex-end;align-items:center;min-height:40px;
 padding:7px 4px;list-style:none;cursor:pointer;font-size:12px;font-weight:700;color:#576c95
}
#youth-list .youth-card-more summary::-webkit-details-marker{display:none}
#youth-list .youth-card-more summary:focus-visible{outline:2px solid #315caa;outline-offset:1px}
#youth-list .youth-card-more[open] summary{color:#244b95}
#youth-list .youth-card-extra-actions{display:flex;flex-wrap:wrap;gap:7px;padding:10px 0 0}
#youth-list .youth-card-extra-actions button{font-size:11.5px;padding:9px 11px;min-height:38px}
#youth-list .youth-card-extra-actions .youth-request-delete{color:#8a3434;background:#f8eded}
#youth-list .youth-empty{grid-column:1/-1;padding:24px 16px;border:1px dashed #cbd8ea;border-radius:15px;text-align:center;color:#63738e;background:#f8faff;font-size:13px}
#jovens #youth-detail{border-radius:17px;padding:17px;margin-top:17px}
#jovens #youth-detail h2{font-size:20px;margin-bottom:8px}
#jovens #youth-detail h3{font-size:16px}
#jovens #youth-detail .stat{overflow-wrap:anywhere;background:#f5f8fe}
@media(max-width:700px){
 #jovens .youth-page-header{flex-direction:column;align-items:stretch;gap:12px}
 #youth-add-toggle{width:100%}
 #jovens .youth-list-controls{grid-template-columns:minmax(0,1fr) auto}
 #youth-list{grid-template-columns:minmax(0,1fr)}
 #youth-list .youth-card{padding:13px 14px;border-radius:14px}
 #jovens .youth-saved-heading{margin-top:16px}
 #youth-entry-panel{padding:14px}
}

#jovens .youth-detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
#jovens .youth-detail-title-row h3{margin:0;color:#192a50;font-size:15px}
#jovens .youth-detail-close{min-height:36px;font-size:12px;padding:8px 13px}
#jovens .youth-detail-top{display:flex;align-items:center;gap:17px;min-width:0;padding:15px;margin-bottom:13px;border-radius:14px;background:linear-gradient(120deg,#213c77,#1a2c51);color:#fff}
#jovens .youth-detail-avatar{flex:0 0 92px;width:92px;height:92px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:2px solid #afc4ed;border-radius:19px;background:linear-gradient(135deg,#506a9e,#283f70);color:#fff;font-size:27px;font-weight:750;letter-spacing:.5px}
#jovens .youth-detail-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#jovens .youth-detail-info{min-width:0;flex:1}
#jovens .youth-detail-info h2{font-size:18px;line-height:1.2;overflow-wrap:anywhere;color:#fff;margin:0 0 12px}
#jovens .youth-detail-rank{display:inline-flex;padding:5px 11px;border:1px solid rgba(243,216,159,.45);border-radius:99px;background:rgba(255,255,255,.1);color:#f7dfb0;font-size:11px;font-weight:800}
@media(max-width:480px){
 #jovens .youth-detail-top{gap:12px;padding:12px}
 #jovens .youth-detail-avatar{flex-basis:76px;width:76px;height:76px}
 #jovens .youth-detail-info h2{font-size:16px}
}


/* FJU JAPAN | Refinamento visual 2026 — fichas dos jovens.
   Apenas apresentação: não altera cadastro, banco, permissões ou eventos JS. */
#jovens{--youth-ink:#1b2b4d;--youth-border:#e0e8f4;--youth-blue:#244b91}
#jovens .youth-page-header{padding:4px 0 6px}
#jovens .youth-page-header h2{font-size:clamp(21px,2.8vw,26px);letter-spacing:-.035em}
#jovens .youth-page-subtitle{font-size:13px;max-width:660px}
#youth-add-toggle{border-radius:14px;box-shadow:0 6px 16px rgba(33,64,121,.16);transition:transform .16s,box-shadow .16s}
#youth-add-toggle:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(33,64,121,.2)}
#jovens .youth-list-controls input,#jovens .youth-list-controls select{border-radius:13px;background:#fff}
#youth-list{gap:15px}
#youth-list .youth-card{gap:13px;padding:18px;border:1px solid var(--youth-border);border-radius:20px;background:#fff;box-shadow:0 6px 22px rgba(20,42,82,.065);transition:transform .18s,border-color .18s,box-shadow .18s}
#youth-list .youth-card:hover{transform:translateY(-2px);border-color:#bdcde9;box-shadow:0 12px 28px rgba(20,42,82,.1)}
#youth-list .youth-avatar{flex-basis:68px;width:68px;height:68px;border-radius:18px;background:#ecf2fc;border-color:#e1e9f5}
#youth-list .youth-card-name{font-size:16px;letter-spacing:-.018em;color:var(--youth-ink)}
#youth-list .youth-card-metadata{font-size:12px}
#youth-list .youth-rank{padding:5px 11px;font-size:11px;line-height:1.3}
#youth-list .youth-card-actions{padding-top:13px;border-color:#e9eef7}
#youth-list .youth-card-actions button{min-height:42px;border-radius:12px}
#youth-list .youth-card-actions .youth-view-button{background:#244b91}
#youth-list .youth-card-actions .youth-edit-button{background:#edf2fa;color:#294879}
#youth-list .youth-card-more summary{border-radius:10px}
#youth-list .youth-card-more summary:hover{background:#f4f7fd}
#jovens #youth-detail{border:1px solid var(--youth-border);box-shadow:0 8px 28px rgba(20,42,82,.07)}
#jovens .youth-detail-top{background:linear-gradient(120deg,#203d7a,#132446);border-radius:18px}
@media(max-width:700px){
 #youth-list{gap:11px}
 #youth-list .youth-card{padding:15px;border-radius:17px}
 #youth-list .youth-card:hover{transform:none}
 #youth-list .youth-avatar{flex-basis:60px;width:60px;height:60px}
 #youth-list .youth-card-actions button{min-height:44px}
 #jovens .youth-list-controls{gap:8px}
}
@media(prefers-reduced-motion:reduce){
 #youth-list .youth-card,#youth-add-toggle{transition:none}
 #youth-list .youth-card:hover,#youth-add-toggle:hover{transform:none}
}
@media print{
 #youth-list .youth-card{box-shadow:none;transform:none;break-inside:avoid}
}

/* iPhone: fichas compactas com exclusão visível, sem alterar permissões */
@media(max-width:700px){
 #jovens .youth-page-header{gap:7px;padding:0}
 #jovens .youth-page-subtitle{margin:3px 0 8px;line-height:1.4}
 #jovens .youth-saved-heading{margin-top:10px}
 #youth-list{gap:8px}
 #youth-list .youth-card{gap:8px;padding:11px 12px;border-radius:15px;box-shadow:0 2px 8px rgba(20,42,82,.04)}
 #youth-list .youth-card-main{gap:10px}
 #youth-list .youth-avatar{flex:0 0 48px;width:48px;height:48px;border-radius:13px}
 #youth-list .youth-card-name{font-size:14px;line-height:1.2;margin:0 0 3px}
 #youth-list .youth-rank{font-size:10px;padding:3px 8px}
 #youth-list .youth-card-metadata{font-size:11px;margin-top:3px}
 #youth-list .youth-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding-top:8px}
 #youth-list .youth-card-actions button{min-height:34px;padding:6px 10px;font-size:11px;border-radius:9px}
 #youth-list .youth-card-more{margin-left:auto}
 #youth-list .youth-card-more summary{min-height:34px;padding:7px 5px;font-size:11px}
 #youth-list .youth-card-actions .youth-request-delete{color:#a6323c;background:#fff1f2;border:1px solid #f4cbd0}
 #youth-list .youth-card-extra-actions{padding:5px 0}
 #jovens .youth-list-controls{gap:6px}
}

/* Garante área de respiro para o título das fichas no modal iPhone */
@media(max-width:700px){
 body.fju-coordinator-dashboard #jovens{
   padding-top:18px!important;
   scroll-margin-top:22px;
 }
 body.fju-coordinator-dashboard #jovens .youth-page-header{
   padding-top:10px!important;
   margin-top:0!important;
 }
 body.fju-coordinator-dashboard #jovens .youth-page-header h2{
   margin-top:10px!important;
   line-height:1.25;
 }
}

/* Equilibra os espaços acima do voltar e entre voltar/título no iPhone */
@media(max-width:700px){
 body.fju-coordinator-dashboard #jovens.panel:not(.hidden){
   margin-top:0!important;
   padding-top:0!important;
   scroll-margin-top:0!important;
 }
 body.fju-coordinator-dashboard #jovens>.fju-back-dashboard{
   display:inline-flex;
   margin:0 0 12px!important;
   padding:9px 12px!important;
   min-height:38px!important;
 }
 body.fju-coordinator-dashboard #jovens .youth-page-header{
   margin-top:0!important;
   padding:0!important;
   margin-bottom:12px!important;
 }
 body.fju-coordinator-dashboard #jovens .youth-page-header h2{
   margin:0 0 4px!important;
   padding:0!important;
   line-height:1.25!important;
 }
 body.fju-coordinator-dashboard #jovens .youth-page-subtitle{
   margin:0!important;
 }
}


/* Ícones coloridos dos projetos aprovados exibidos nos cards das fichas. */
#youth-list .fju-youth-project-icons{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:6px}
#youth-list .fju-project-icon{width:29px;height:29px;display:inline-grid;place-items:center;border-radius:9px;font-size:16px;font-weight:850;line-height:1;box-shadow:inset 0 0 0 1px rgba(20,35,60,.07)}
#youth-list .fju-project-icon--green{background:#e4f6eb;color:#16834a}
#youth-list .fju-project-icon--blue{background:#e7f0ff;color:#2366c5}
#youth-list .fju-project-icon--orange{background:#fff0e5;color:#d66a20}
#youth-list .fju-project-icon--purple{background:#f2eafe;color:#8546b8}
#youth-list .fju-project-icon--yellow{background:#fff4d9;color:#a36d00}
#youth-list .fju-project-icon--slate{background:#edf1f6;color:#53657d}
@media(max-width:700px){#youth-list .fju-youth-project-icons{gap:6px;margin-top:5px}#youth-list .fju-project-icon{width:27px;height:27px;font-size:15px}}


/* Selos tipográficos dos projetos: sem ilustrações aleatórias ou imagens externas. */
.fju-project-option{display:inline-flex;align-items:center;gap:9px}
.fju-project-option-mark{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 34px;border-radius:9px;font-size:10px;font-weight:850;letter-spacing:-.3px;line-height:1}
.fju-project-mark--green,#youth-list .fju-project-icon--green{background:#e4f6eb;color:#16834a}
.fju-project-mark--purple,#youth-list .fju-project-icon--purple{background:#f2eafe;color:#8546b8}
.fju-project-mark--blue,#youth-list .fju-project-icon--blue{background:#e7f0ff;color:#2366c5}
.fju-project-mark--navy,#youth-list .fju-project-icon--navy{background:#e8edf7;color:#233c67}
.fju-project-mark--orange,#youth-list .fju-project-icon--orange{background:#fff0e5;color:#d66a20}
.fju-project-mark--gold,#youth-list .fju-project-icon--gold{background:#fff3d5;color:#946000}
.fju-project-mark--pink,#youth-list .fju-project-icon--pink{background:#fce8f1;color:#a23b70}
#youth-list .fju-project-icon--slate{background:#edf1f6;color:#53657d}
@media(max-width:700px){.fju-project-option-mark{width:31px;height:31px;flex-basis:31px}#youth-list .fju-project-icon{font-size:9px}}

/* Nome completo dos projetos, no mesmo padrão das etiquetas de patente. */
#youth-list .fju-project-icon{width:auto;min-width:0;height:auto;min-height:29px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:750;line-height:1.2;white-space:nowrap}
@media(max-width:700px){#youth-list .fju-project-icon{width:auto;height:auto;min-height:27px;padding:5px 9px;font-size:10px}}
.fju-project-option-mark{width:auto;min-width:34px;height:auto;min-height:34px;padding:0 8px;flex:0 0 auto;border-radius:9px;font-size:10px}

/* Cores oficiais solicitadas para os projetos nas fichas e nos cards. */
.fju-project-mark--help,#youth-list .fju-project-icon--help{background:#f5cf32!important;color:#171717!important;border:1px solid #171717}
.fju-project-mark--sport,#youth-list .fju-project-icon--sport{background:#269b55!important;color:#fff!important;border:1px solid #171717}
.fju-project-mark--uniforca,#youth-list .fju-project-icon--uniforca{background:#d99a16!important;color:#171717!important;border:1px solid #171717}
.fju-project-mark--media,#youth-list .fju-project-icon--media{background:#2474bd!important;color:#111!important;border:1px solid #111}
.fju-project-mark--bjj,#youth-list .fju-project-icon--bjj{background:#fff!important;color:#d3232a!important;border:2px solid #d3232a}
.fju-project-mark--culture,#youth-list .fju-project-icon--culture{background:#ed8124!important;color:#171717!important;border:1px solid #171717}


/* Padroniza os selos de projetos com as etiquetas de patente dos cards. */
#youth-list .fju-project-icon{
  border:0!important;
  box-shadow:none!important;
  border-radius:999px!important;
  font-weight:750!important;
}


/* Correção definitiva: força o padrão das etiquetas de patente nos projetos dos cards. */
#jovens #youth-list .fju-project-icon,
#jovens #youth-list .fju-project-icon--help,
#jovens #youth-list .fju-project-icon--sport,
#jovens #youth-list .fju-project-icon--uniforca,
#jovens #youth-list .fju-project-icon--media,
#jovens #youth-list .fju-project-icon--bjj,
#jovens #youth-list .fju-project-icon--culture {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}


/* Projetos: mesmas dimensões e tipografia da etiqueta de patente (.youth-rank). */
#youth-list .fju-project-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  padding:4px 9px!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:100px!important;
  font-size:10px!important;
  font-weight:750!important;
  letter-spacing:.05px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
@media(max-width:700px){
  #youth-list .fju-project-icon{padding:4px 9px!important;font-size:10px!important}
}


/* Projetos nos cards: replica EXATAMENTE a geometria da etiqueta de patente. */
#youth-list .fju-youth-project-icons{
 display:flex!important;
 align-items:center!important;
 flex-wrap:wrap!important;
 gap:6px!important;
 margin-top:0!important;
}
#youth-list .fju-youth-project-icons .fju-project-icon{
 display:inline-flex!important;
 align-items:center!important;
 max-width:100%!important;
 width:auto!important;
 min-width:0!important;
 height:auto!important;
 min-height:0!important;
 padding:4px 9px!important;
 border:0!important;
 outline:0!important;
 box-shadow:none!important;
 border-radius:100px!important;
 font-family:inherit!important;
 font-size:10px!important;
 font-weight:750!important;
 letter-spacing:.05px!important;
 line-height:1.3!important;
 white-space:nowrap!important;
}
#youth-list .fju-project-icon--help{background:#f5cf32!important;color:#171717!important}
#youth-list .fju-project-icon--sport{background:#269b55!important;color:#fff!important}
#youth-list .fju-project-icon--uniforca{background:#d99a16!important;color:#171717!important}
#youth-list .fju-project-icon--media{background:#2474bd!important;color:#fff!important}
#youth-list .fju-project-icon--bjj{background:#fff!important;color:#d3232a!important}
#youth-list .fju-project-icon--culture{background:#ed8124!important;color:#171717!important}
@media(max-width:700px){
 #youth-list .fju-youth-project-icons{gap:6px!important;margin-top:0!important}
 #youth-list .fju-youth-project-icons .fju-project-icon{padding:3px 8px!important;font-size:10px!important}
}


/* FJU BJJ: contorno vermelho bem fino para destacar o selo branco. */
#youth-list .fju-youth-project-icons .fju-project-icon--bjj{
  background:#fff!important;
  color:#d3232a!important;
  border:1px solid #d3232a!important;
  box-sizing:border-box!important;
}


/* Correção de prioridade: a borda fina do FJU BJJ deve prevalecer sobre o reset geral dos selos. */
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--bjj{
  background:#fff!important;
  color:#d3232a!important;
  border:1px solid #d3232a!important;
  box-sizing:border-box!important;
}


/* FJU BJJ: contorno visível mesmo quando regras gerais removem a borda. */
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--bjj{
  background:#fff!important;
  color:#d3232a!important;
  border:1px solid #d3232a!important;
  outline:1px solid #d3232a!important;
  outline-offset:-1px!important;
  box-shadow:inset 0 0 0 1px #d3232a!important;
  box-sizing:border-box!important;
}


/* FJU Connect — paleta vibrante unificada para patente, ALTAR e projetos.
   Todos os selos compartilham geometria, tipografia e peso visual.
   As cores variam dentro da mesma família cromática, sem contornos especiais. */
#youth-list .youth-rank,
#youth-list .fju-youth-project-icons .fju-project-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:26px!important;
  height:auto!important;
  padding:5px 10px!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:999px!important;
  font-family:inherit!important;
  font-size:10px!important;
  font-weight:750!important;
  letter-spacing:.05px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
#youth-list .youth-rank[data-rank=Firme]{background:#dcecff!important;color:#24549a!important}
#youth-list .youth-rank[data-rank=CPO]{background:#eee3ff!important;color:#6840a0!important}
#youth-list .youth-rank[data-rank=Colaborador]{background:#d9f3e9!important;color:#176b50!important}
#youth-list .youth-rank[data-rank=Obreiro]{background:#ffebd9!important;color:#99501f!important}
#youth-list .youth-rank[data-rank=Coordenador]{background:#e3e7ff!important;color:#414b9a!important}
#youth-list .youth-rank[data-rank=Eventual]{background:#ffe2ed!important;color:#9a3e68!important}
#youth-list .youth-rank:not([data-rank]){background:#e8edf5!important;color:#465675!important}

/* Mesma família vibrante para os projetos — sem borda individual do BJJ. */
#youth-list .fju-project-icon--help,
.fju-project-mark--help{background:#ffedb8!important;color:#805300!important}
#youth-list .fju-project-icon--sport,
.fju-project-mark--sport{background:#d8f2e5!important;color:#176b50!important}
#youth-list .fju-project-icon--uniforca,
.fju-project-mark--uniforca{background:#ffedcf!important;color:#89551a!important}
#youth-list .fju-project-icon--media,
.fju-project-mark--media{background:#dcecff!important;color:#24549a!important}
#youth-list .fju-project-icon--bjj,
.fju-project-mark--bjj{background:#ffe0e5!important;color:#9a3e55!important}
#youth-list .fju-project-icon--culture,
.fju-project-mark--culture{background:#f1e2ff!important;color:#70439b!important}
#youth-list .fju-project-icon--pink,
.fju-project-mark--pink{background:#ffe2ed!important;color:#9a3e68!important}
#youth-list .fju-project-icon--slate{background:#e8edf5!important;color:#465675!important}

/* O desejo de fazer a Obra no Altar é um selo da mesma família. */
#youth-list .youth-card-tags .youth-rank[aria-label="ALTAR"],
#youth-list .youth-rank.youth-altar-tag{background:#ffedb8!important;color:#805300!important}

@media(max-width:700px){
 #youth-list .youth-rank,
 #youth-list .fju-youth-project-icons .fju-project-icon{
  min-height:25px!important;padding:4px 9px!important;font-size:10px!important
 }
}


/* Tags auxiliares (idade e estado civil) também seguem a mesma linguagem visual. */
#youth-list .youth-card-tags .youth-rank{
  min-height:26px!important;
  padding:5px 10px!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.2!important;
}
#youth-list .youth-card-tags .youth-rank:not(.youth-altar-tag){
  background:#e8edf5!important;color:#465675!important;
}
#youth-list .youth-card-tags .youth-altar-tag{
  background:#ffedb8!important;color:#805300!important;
}


/* FJU Connect — ajuste final da paleta multicolorida dos selos.
   Geometria compartilhada; cada categoria mantém uma cor própria da mesma família.
   Remove especificamente qualquer contorno vermelho do selo FJU BJJ. */
#jovens #youth-list .youth-card-tags .youth-rank{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;min-height:26px!important;height:auto!important;
  padding:5px 10px!important;border:0!important;outline:0!important;
  box-shadow:none!important;border-radius:999px!important;
  font-family:inherit!important;font-size:10px!important;font-weight:750!important;
  letter-spacing:.05px!important;line-height:1.2!important;white-space:nowrap!important;
}
/* Idade, estado civil e patente: tons distintos, porém coordenados. */
#jovens #youth-list .youth-card-tags>.youth-rank:nth-child(1){background:#dcecff!important;color:#24549a!important}
#jovens #youth-list .youth-card-tags>.youth-rank:nth-child(2){background:#eee3ff!important;color:#68449b!important}
#jovens #youth-list .youth-card-tags>.youth-rank[data-rank="Firme"]{background:#dcecff!important;color:#24549a!important}
#jovens #youth-list .youth-card-tags>.youth-rank[data-rank="CPO"]{background:#eee3ff!important;color:#68409d!important}
#jovens #youth-list .youth-card-tags>.youth-rank[data-rank="Colaborador"]{background:#d9f3e9!important;color:#176b50!important}
#jovens #youth-list .youth-card-tags>.youth-rank[data-rank="Obreiro"]{background:#ffebd9!important;color:#99501f!important}
#jovens #youth-list .youth-card-tags>.youth-rank[data-rank="Coordenador"]{background:#e3e7ff!important;color:#414b9a!important}
#jovens #youth-list .youth-card-tags>.youth-rank[data-rank="Eventual"]{background:#ffe2ed!important;color:#9a3e68!important}
#jovens #youth-list .youth-card-tags>.youth-altar-tag{background:#ffedb8!important;color:#805300!important}
/* Projetos: mesma forma e dimensões, com cores individuais da paleta. */
#jovens #youth-list .fju-youth-project-icons .fju-project-icon{
  min-height:26px!important;padding:5px 10px!important;border:0!important;
  outline:0!important;box-shadow:none!important;border-radius:999px!important;
  font-family:inherit!important;font-size:10px!important;font-weight:750!important;
  letter-spacing:.05px!important;line-height:1.2!important;
}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--help{background:#ffedb8!important;color:#805300!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--sport{background:#d8f2e5!important;color:#176b50!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--uniforca{background:#ffedcf!important;color:#89551a!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--media{background:#dcecff!important;color:#24549a!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--bjj{background:#ffe0e5!important;color:#9a3e55!important;border:0!important;outline:0!important;box-shadow:none!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--culture{background:#f1e2ff!important;color:#70439b!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--pink{background:#ffe2ed!important;color:#9a3e68!important}
#jovens #youth-list .fju-youth-project-icons .fju-project-icon--slate{background:#e8edf5!important;color:#465675!important}
@media(max-width:700px){
 #jovens #youth-list .youth-card-tags .youth-rank,
 #jovens #youth-list .fju-youth-project-icons .fju-project-icon{
  min-height:25px!important;padding:4px 9px!important;font-size:10px!important;
 }
}


/* FJU Connect — redesign de cards de jovens (mobile-first, novembro/2026).
   Camada visual final: preserva markup, ações, dados e permissões existentes. */
#jovens{
  --yc-ink:#172b4d;
  --yc-muted:#71809a;
  --yc-line:#e6ebf2;
  --yc-blue:#2456a6;
}
#youth-list{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));
  gap:12px;
  margin-top:12px;
}
#youth-list .youth-card{
  gap:11px;
  padding:14px;
  border:1px solid var(--yc-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 2px 9px rgba(23,43,77,.045);
  transition:border-color .16s ease,box-shadow .16s ease;
}
#youth-list .youth-card:hover{
  transform:none;
  border-color:#cbd7e8;
  box-shadow:0 5px 16px rgba(23,43,77,.075);
}
#youth-list .youth-card-main{
  align-items:center;
  gap:12px;
}
#youth-list .youth-avatar{
  flex:0 0 54px;
  width:54px;height:54px;
  border:1px solid #e5eaf2;
  border-radius:14px;
  background:#f0f4fa;
  color:#38577f;
  font-size:18px;
}
#youth-list .youth-card-info{gap:5px}
#youth-list .youth-card-name{
  color:var(--yc-ink);
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
#youth-list .youth-card-metadata{
  gap:6px;
  color:var(--yc-muted);
  font-size:11.5px;
}
#youth-list .youth-rank{
  padding:4px 9px;
  border-radius:7px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0;
}
#youth-list .fju-youth-project-icons{gap:5px!important}
#youth-list .fju-youth-project-icons .fju-project-icon{
  padding:4px 8px!important;
  border-radius:7px!important;
  font-size:10px!important;
  font-weight:650!important;
}
#youth-list .youth-card-actions{
  display:flex;
  align-items:center;
  gap:7px;
  padding-top:10px;
  border-top:1px solid #edf0f5;
}
#youth-list .youth-card-actions button{
  min-height:36px;
  padding:8px 12px;
  border-radius:9px;
  font-size:11.5px;
  font-weight:700;
}
#youth-list .youth-card-actions .youth-view-button{
  background:var(--yc-blue);
  color:#fff;
}
#youth-list .youth-card-actions .youth-edit-button{
  background:#f0f3f8;
  color:#344b6d;
}
#youth-list .youth-card-more{flex:0 0 auto;margin-left:auto}
#youth-list .youth-card-more summary{
  min-height:36px;
  padding:7px 8px;
  border-radius:8px;
  color:#64748b;
  font-size:11px;
}
#youth-list .youth-card-more summary:hover{background:#f4f6fa}
#youth-list .youth-card-extra-actions{
  justify-content:flex-end;
  gap:6px;
  padding-top:8px;
}
#youth-list .youth-card-extra-actions button{
  min-height:35px;
  padding:7px 10px;
  border-radius:8px;
}
@media(max-width:700px){
  #youth-list{grid-template-columns:minmax(0,1fr);gap:9px}
  #youth-list .youth-card{padding:12px;border-radius:14px;gap:9px}
  #youth-list .youth-avatar{flex-basis:50px;width:50px;height:50px;border-radius:12px}
  #youth-list .youth-card-name{font-size:14px}
  #youth-list .youth-card-actions{gap:6px;padding-top:8px}
  #youth-list .youth-card-actions button{min-height:38px;padding:8px 10px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  #youth-list .youth-card{transition:none}
}


/* FJU Connect — correção visual pós-validação no iPhone.
   Neutraliza estilos inline legados e mantém o cartão compacto em uma única linha. */
#jovens #youth-list .youth-card{
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  padding:12px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-left:1px solid #e2e8f0!important;
  border-radius:14px!important;
  box-shadow:0 2px 8px rgba(15,35,70,.045)!important;
}
#jovens #youth-list .youth-card-main{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  width:100%!important;
  min-width:0!important;
}
#jovens #youth-list .youth-avatar{
  display:flex!important;
  flex:0 0 52px!important;
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
#jovens #youth-list .youth-card-info{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  text-align:left!important;
}
#jovens #youth-list .youth-card-name{
  margin:0!important;
  color:#172b4d!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.3!important;
  text-align:left!important;
}
#jovens #youth-list .youth-card-name-meta{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:500!important;
}
#jovens #youth-list .fju-youth-id{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
}
/* No cartão ficam apenas identificação, patente, FJU ID e tempo na função.
   Idiomas e projetos permanecem disponíveis dentro da ficha completa. */
#jovens #youth-list .youth-card-tags,
#jovens #youth-list .fju-youth-project-icons,
#jovens #youth-list .youth-card-metadata:not(.youth-card-tags){
  display:none!important;
}
#jovens #youth-list .fju-rank-card-fields{
  display:block!important;
  margin-top:2px!important;
  color:#52627b!important;
  font-size:11px!important;
  line-height:1.35!important;
}
#jovens #youth-list .youth-card-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  padding-top:8px!important;
  border-top:1px solid #edf1f6!important;
}
#jovens #youth-list .youth-card-actions button{
  min-height:34px!important;
  padding:7px 11px!important;
  border-radius:9px!important;
  font-size:11px!important;
  font-weight:700!important;
}
#jovens #youth-list .youth-card-actions .youth-view-button{
  background:#2456a6!important;
  color:#fff!important;
}
#jovens #youth-list .youth-card-actions .youth-edit-button,
#jovens #youth-list .youth-card-actions .youth-delete-button{
  background:#f0f3f8!important;
  color:#344b6d!important;
}
@media(max-width:700px){
  #jovens #youth-list{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  #jovens #youth-list .youth-card{padding:11px!important;gap:8px!important}
  #jovens #youth-list .youth-avatar{flex-basis:48px!important;width:48px!important;height:48px!important;min-width:48px!important}
  #jovens #youth-list .youth-card-actions button{min-height:34px!important}
}


/* Organização da tela de fichas — ferramentas secundárias e busca em primeiro plano. */
#jovens .fju-roster-tools{
  margin:0 0 12px;
  border:1px solid #e0e6f0;
  border-radius:12px;
  background:#f8faff;
  overflow:hidden;
}
#jovens .fju-roster-tools>summary{
  display:flex;align-items:center;gap:10px;
  min-height:42px;padding:9px 12px;
  list-style:none;cursor:pointer;
  color:#344969;font-size:12px;font-weight:750;
}
#jovens .fju-roster-tools>summary::-webkit-details-marker,
#jovens .fju-merge-tool>summary::-webkit-details-marker{display:none}
#jovens .fju-roster-tools-hint{margin-left:auto;color:#8491a5;font-size:11px;font-weight:550}
#jovens .fju-roster-tools-content{
  display:grid;gap:9px;padding:0 10px 10px;
}
#jovens #youth-print-toolbar{margin:0!important;padding:0!important;text-align:left}
#jovens #youth-print-list{
  min-height:36px!important;padding:7px 11px!important;
  border-radius:9px!important;font-size:11px!important;
}
#jovens .fju-merge-tool{
  border:1px solid #e3e9f2;border-radius:9px;background:#fff;overflow:hidden;
}
#jovens .fju-merge-tool>summary{
  padding:10px 11px;list-style:none;cursor:pointer;
  color:#52627b;font-size:12px;font-weight:650;
}
#jovens .fju-merge-tool-body{padding:0 11px 11px}
#jovens .youth-saved-heading{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;margin:8px 0 10px;
}
#jovens .youth-saved-heading h3{margin:0;font-size:17px}
#jovens .youth-list-controls{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:end;gap:8px;margin:0 0 10px;
}
#jovens .youth-list-controls>div{min-width:0}
#jovens .youth-list-controls label{display:block;margin:0 0 5px;font-size:12px;font-weight:650;color:#52627b}
#jovens .youth-list-controls input{min-height:43px;width:100%;box-sizing:border-box}
#jovens #youth-refresh{min-height:43px;padding:8px 13px;border-radius:10px;font-size:12px}
#jovens .fju-rank-filter{margin:0 0 12px}
@media(max-width:600px){
  #jovens .youth-page-header{gap:10px}
  #jovens .youth-page-header h2{font-size:22px}
  #jovens #youth-add-toggle{min-height:46px;border-radius:13px}
  #jovens .youth-saved-heading{margin:7px 0 9px}
  #jovens .youth-saved-heading h3{font-size:16px}
  #jovens .youth-list-controls{grid-template-columns:minmax(0,1fr) auto;gap:7px}
  #jovens .youth-list-controls input{font-size:14px}
  #jovens #youth-refresh{padding:8px 10px;font-size:11px}
}


/* Indicadores essenciais dos cards: independentes da área de metadados ocultada no iPhone. */
#jovens #youth-list .fju-card-highlights{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;
  width:100%!important;min-width:0!important;margin-top:2px!important;
}
#jovens #youth-list .fju-card-highlights .youth-altar-tag{
  display:inline-flex!important;align-items:center!important;min-height:24px!important;
  padding:4px 9px!important;border:0!important;border-radius:999px!important;
  background:#ffedb8!important;color:#805300!important;font-size:11px!important;font-weight:750!important;
  line-height:1.2!important;
}
#jovens #youth-list .fju-card-highlights .fju-rank-card-fields{
  display:inline-flex!important;align-items:center!important;min-height:24px!important;
  padding:4px 9px!important;border-radius:999px!important;background:#edf1f7!important;
  color:#40516b!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;
  white-space:normal!important;max-width:100%!important;box-sizing:border-box!important;
}


/* FJU Connect — youth form responsive repair (National + Local Coordinator).
   Keep long selection/photo blocks out of the two-column personal-data grid. */
#youth-form .youth-info-grid>.youth-extended-field,
#youth-form .youth-info-grid>.fju-youth-project-field,
#youth-form .youth-info-grid>.youth-photo-editor{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
}
#youth-form #youth-languages-picker,
#youth-form #youth-languages-picker .fju-language-options,
#youth-form #youth-projects-picker,
#youth-form .fju-youth-project-options{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
#youth-form .fju-youth-project-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
#youth-form .fju-project-option{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  width:100%;
  min-width:0;
  min-height:54px;
  margin:0;
  padding:9px 11px;
  box-sizing:border-box;
  border:1px solid #dbe4f0;
  border-radius:12px;
  background:#f8fafc;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.3;
}
#youth-form .fju-project-option input[type=checkbox]{
  flex:0 0 20px;
  width:20px;
  min-width:20px;
  height:20px;
  margin:0;
}
#youth-form .fju-project-option-mark{
  flex:0 0 auto;
}
#youth-form .fju-project-option>span:last-child{
  flex:1 1 auto;
  min-width:0;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.3;
}
#youth-form .fju-project-option:has(input:checked){
  background:#eaf3ff;
  border-color:#8ab6f2;
}
#youth-form .youth-photo-editor{
  display:grid;
  grid-template-columns:minmax(0,1fr) 96px;
  grid-template-rows:auto auto;
  grid-template-areas:"copy photo" "help photo";
  align-items:center;
  gap:8px 14px;
}
#youth-form .youth-photo-editor-copy{
  grid-area:copy;
  min-width:0;
  width:100%;
}
#youth-form .youth-photo-trigger{
  grid-area:photo;
  justify-self:end;
  flex:0 0 88px;
  width:88px;
  height:88px;
}
#youth-form .youth-photo-editor>.muted{
  grid-area:help;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  line-height:1.45;
  overflow-wrap:break-word;
  word-break:normal;
}
@media(max-width:420px){
  #youth-form .fju-youth-project-options{
    grid-template-columns:minmax(0,1fr);
  }
  #youth-form .youth-photo-editor{
    grid-template-columns:minmax(0,1fr) 76px;
    gap:7px 10px;
    padding:10px;
  }
  #youth-form .youth-photo-trigger{
    flex-basis:72px;
    width:72px;
    height:72px;
  }
}


/* Hotfix 2026-11-15 — enforce row layout against legacy inline/admin label rules. */
#youth-form .youth-info-grid > .fju-youth-project-field,
#youth-form .youth-info-grid > .youth-photo-editor,
#youth-form .youth-info-grid > .youth-extended-field{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
#youth-form #youth-projects-picker.fju-youth-project-options{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}
#youth-form #youth-projects-picker .fju-project-option{
  display:grid!important;
  grid-template-columns:20px auto minmax(0,1fr)!important;
  grid-template-rows:minmax(36px,auto)!important;
  align-items:center!important;
  justify-content:stretch!important;
  justify-items:start!important;
  flex-direction:row!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  margin:0!important;
  padding:8px 9px!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-align:left!important;
}
#youth-form #youth-projects-picker .fju-project-option input[type="checkbox"]{
  grid-column:1!important;
  grid-row:1!important;
  display:block!important;
  position:static!important;
  flex:none!important;
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  margin:0!important;
}
#youth-form #youth-projects-picker .fju-project-option .fju-project-option-mark{
  grid-column:2!important;
  grid-row:1!important;
  display:inline-grid!important;
  width:auto!important;
  min-width:34px!important;
  max-width:58px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0 6px!important;
  margin:0!important;
  white-space:nowrap!important;
  flex:none!important;
}
#youth-form #youth-projects-picker .fju-project-option > span:last-child{
  grid-column:3!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  text-align:left!important;
  line-height:1.25!important;
}
#youth-form .youth-photo-editor{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 88px!important;
  grid-template-rows:auto auto!important;
  grid-template-areas:"copy photo" "help photo"!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:8px 12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
#youth-form .youth-photo-editor .youth-photo-editor-copy{
  grid-area:copy!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:none!important;
}
#youth-form .youth-photo-editor .youth-photo-editor-copy strong,
#youth-form .youth-photo-editor .youth-photo-editor-copy span{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  writing-mode:horizontal-tb!important;
}
#youth-form .youth-photo-editor .youth-photo-trigger{
  grid-area:photo!important;
  display:grid!important;
  justify-self:end!important;
  align-self:center!important;
  flex:none!important;
  width:84px!important;
  min-width:84px!important;
  height:84px!important;
}
#youth-form .youth-photo-editor > .muted{
  grid-area:help!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  writing-mode:horizontal-tb!important;
}
@media(max-width:420px){
  #youth-form #youth-projects-picker.fju-youth-project-options{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #youth-form .youth-photo-editor{
    grid-template-columns:minmax(0,1fr) 72px!important;
    gap:7px 9px!important;
    padding:10px!important;
  }
  #youth-form .youth-photo-editor .youth-photo-trigger{
    width:70px!important;
    min-width:70px!important;
    height:70px!important;
  }
}


/* FJU JAPAN — visual standard shared by National and Local Coordinator.
   First reference layout (one project per row) + second reference's refined pastel palette. */
#youth-form .fju-youth-project-field{
  padding:16px!important;
  border:1px solid #d9e2ef!important;
  border-radius:17px!important;
  background:#fbfcff!important;
  box-sizing:border-box!important;
}
#youth-form .fju-youth-project-field>label{
  display:block!important;
  margin:0 0 7px!important;
  color:#20365f!important;
  font-size:14px!important;
  font-weight:780!important;
}
#youth-form .fju-youth-project-field>.muted{
  margin:0 0 12px!important;
  color:#6d7d98!important;
  font-size:12px!important;
  line-height:1.5!important;
}
#youth-form #youth-projects-picker.fju-youth-project-options{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
}
#youth-form #youth-projects-picker .fju-project-option{
  display:grid!important;
  grid-template-columns:22px 44px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:start!important;
  justify-items:start!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:1px solid #dce4f0!important;
  border-radius:13px!important;
  background:#f7f9fd!important;
  box-sizing:border-box!important;
  text-align:left!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  transition:background .15s,border-color .15s,box-shadow .15s!important;
}
#youth-form #youth-projects-picker .fju-project-option:has(input:checked){
  background:#eaf1fc!important;
  border-color:#9bb8e7!important;
  box-shadow:inset 0 0 0 1px rgba(68,111,181,.06)!important;
}
#youth-form #youth-projects-picker .fju-project-option input[type="checkbox"]{
  grid-column:1!important;
  grid-row:1!important;
  appearance:auto!important;
  accent-color:#287be0!important;
  display:block!important;
  position:static!important;
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  margin:0!important;
}
#youth-form #youth-projects-picker .fju-project-option .fju-project-option-mark{
  grid-column:2!important;
  grid-row:1!important;
  display:inline-grid!important;
  place-items:center!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:11px!important;
  box-sizing:border-box!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:0!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#youth-form #youth-projects-picker .fju-project-option > span:last-child{
  grid-column:3!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  color:#263b60!important;
  font-size:14px!important;
  font-weight:720!important;
  line-height:1.3!important;
  text-align:left!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
/* Muted project badges matching the professional second reference. */
#youth-form #youth-projects-picker .fju-project-mark--green{background:#e1f3e9!important;color:#287451!important}
#youth-form #youth-projects-picker .fju-project-mark--purple{background:#f0e7fb!important;color:#7951a0!important}
#youth-form #youth-projects-picker .fju-project-mark--blue{background:#e3edfc!important;color:#315d9b!important}
#youth-form #youth-projects-picker .fju-project-mark--navy{background:#e5ebf6!important;color:#304a75!important}
#youth-form #youth-projects-picker .fju-project-mark--orange{background:#fff0e5!important;color:#b56a38!important}
#youth-form #youth-projects-picker .fju-project-mark--gold{background:#fff1d8!important;color:#93651c!important}
/* The profile-photo card follows the same quiet blue-grey surface. */
#youth-form .youth-photo-editor{
  padding:15px!important;
  border:1px solid #dce4f0!important;
  border-radius:16px!important;
  background:#fbfcff!important;
}
#youth-form .youth-photo-editor-copy strong{color:#20365f!important}
#youth-form .youth-photo-editor-copy span,
#youth-form .youth-photo-editor>.muted{color:#6d7d98!important}
@media(max-width:420px){
  #youth-form .fju-youth-project-field{padding:12px!important}
  #youth-form #youth-projects-picker .fju-project-option{min-height:56px!important;padding:8px 10px!important}
  #youth-form #youth-projects-picker .fju-project-option .fju-project-option-mark{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important}
}
