/* Home no estilo tela de aplicativos — somente Coordenador Local.
   Mantém layout e menus do Nacional intactos. */
body:not(.fju-coordinator-dashboard) #fju-coord-app-shell,
body:not(.fju-coordinator-dashboard) #fju-coord-home-return{display:none!important}
body.fju-coordinator-dashboard #fju-admin-sidebar,
body.fju-coordinator-dashboard #fju-admin-menu-toggle,
body.fju-coordinator-dashboard #fju-admin-menu-overlay,
body.fju-coordinator-dashboard #fju-coord-more-tools,
body.fju-coordinator-dashboard #fju-coord-more-info-button,
body.fju-coordinator-dashboard #inicio>.fju-priority-heading,
body.fju-coordinator-dashboard #inicio>.fju-priority-grid,
body.fju-coordinator-dashboard #inicio>.fju-today-section,
body.fju-coordinator-dashboard #inicio>.fju-actions-title,
body.fju-coordinator-dashboard #inicio>.fju-dashboard-actions,
body.fju-coordinator-dashboard #inicio>.grid,
body.fju-coordinator-dashboard #inicio>#fju-my-page,
body.fju-coordinator-dashboard #inicio>#leader-home,
body.fju-coordinator-dashboard #inicio>#dashboard-note {display:none!important}
body.fju-coordinator-dashboard .fju-admin-workspace{display:block!important;grid-template-columns:minmax(0,1fr)!important}
body.fju-coordinator-dashboard .fju-admin-content{min-width:0;width:100%;max-width:1200px;margin:auto}
body.fju-coordinator-dashboard .fju-content-toolbar{display:flex;align-items:center;justify-content:space-between}
body.fju-coordinator-dashboard #inicio{display:flex;flex-direction:column;gap:0;overflow:visible}
body.fju-coordinator-dashboard #inicio>.fju-overview-intro{order:0;margin:0 0 20px}
body.fju-coordinator-dashboard #inicio>#fju-coord-app-shell{order:1;margin:0 auto;padding:4px 0 32px;width:100%;max-width:840px}
body.fju-coordinator-dashboard #fju-coord-intro{font-size:14px;color:#60728e;line-height:1.5;margin:0 0 20px;text-align:center}
body.fju-coordinator-dashboard #fju-coord-app-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 10px;justify-items:center}
body.fju-coordinator-dashboard .fju-coord-app{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:11px;padding:11px 3px 12px;border:2px solid transparent!important;border-radius:18px!important;background:transparent!important;box-shadow:none!important;text-align:center;cursor:pointer;color:#263f65}
body.fju-coordinator-dashboard .fju-coord-app:focus-visible,body.fju-coordinator-dashboard .fju-coord-option:focus-visible{outline:3px solid #3772d3;outline-offset:3px}
body.fju-coordinator-dashboard .fju-coord-app.is-active{background:#e7eefb!important;border-color:#c5d5f1!important}
body.fju-coordinator-dashboard .fju-coord-app-icon{position:relative;width:84px;height:84px;display:flex;align-items:center;justify-content:center;border-radius:22px;font-size:42px;line-height:1;box-shadow:0 7px 14px #152d501b,inset 0 1px #ffffff6b;border:1px solid #ffffff55}
body.fju-coordinator-dashboard .fju-coord-blue{background:linear-gradient(135deg,#7dc2ff,#2677d7)}
body.fju-coordinator-dashboard .fju-coord-green{background:linear-gradient(135deg,#78eacb,#25a67d)}
body.fju-coordinator-dashboard .fju-coord-orange{background:linear-gradient(135deg,#ffd98e,#ed9b26)}
body.fju-coordinator-dashboard .fju-coord-purple{background:linear-gradient(135deg,#dbacff,#8b5ce6)}
body.fju-coordinator-dashboard .fju-coord-slate{background:linear-gradient(135deg,#b4d5f8,#5b86b6)}
body.fju-coordinator-dashboard .fju-coord-app-label{font-size:13px;font-weight:800;line-height:1.32;max-width:140px;min-height:2.6em}
body.fju-coordinator-dashboard .fju-coord-app-badge{position:absolute;top:-9px;right:-10px;min-width:24px;height:24px;padding:0 6px;display:flex;justify-content:center;align-items:center;background:#e8253f;border:2px solid #fff;border-radius:99px;color:white;font-size:12px;font-weight:900;box-shadow:0 2px 6px #67192350}
body.fju-coordinator-dashboard .fju-coord-app-badge[hidden]{display:none!important}
body.fju-coordinator-dashboard #fju-coord-choices{margin:26px auto 0;padding:18px;border-radius:20px;border:1px solid #d5e1f0;background:#fff;box-shadow:0 12px 30px #102a4c12;max-width:680px}
body.fju-coordinator-dashboard #fju-coord-choices[hidden]{display:none!important}
body.fju-coordinator-dashboard .fju-coord-choices-heading{display:flex;align-items:center;gap:14px;margin-bottom:3px}
body.fju-coordinator-dashboard #fju-coord-choices-title{margin:0;font-size:18px;font-weight:850;color:#18345b}
body.fju-coordinator-dashboard #fju-coord-back,body.fju-coordinator-dashboard #fju-coord-home-return{border-radius:11px;border:1px solid #d4dfef!important;background:#f0f5fc!important;color:#294a76!important;box-shadow:none!important;font-size:13px;font-weight:750;padding:10px 12px;min-height:42px}
body.fju-coordinator-dashboard #fju-coord-home-return[hidden]{display:none!important}
body.fju-coordinator-dashboard #fju-coord-options-hint{color:#6b7c92;font-size:12px;margin:4px 0 16px}
body.fju-coordinator-dashboard #fju-coord-options{display:grid;grid-template-columns:1fr;gap:10px}
body.fju-coordinator-dashboard .fju-coord-option{display:flex;align-items:center;width:100%;gap:12px;min-height:60px;padding:10px 14px;border-radius:14px!important;border:1px solid #dce5f1!important;background:#f7f9fe!important;color:#213d62!important;font-size:14px;font-weight:780;text-align:left;box-shadow:none!important}
body.fju-coordinator-dashboard .fju-coord-option:hover{background:#ecf3ff!important}
body.fju-coordinator-dashboard .fju-coord-option-icon{width:34px;height:34px;display:grid;place-items:center;background:#e9effa;border-radius:10px;font-size:20px;flex:none}
body.fju-coordinator-dashboard .fju-coord-chevron{font-size:26px;margin-left:auto;color:#8293ae}
body.fju-coordinator-dashboard #fju-coord-subdetail:not([hidden]){margin-top:14px;background:#f3f7fd;padding:14px;border-radius:14px;color:#203e64}
body.fju-coordinator-dashboard #fju-coord-subdetail h4{margin:0 0 12px;font-size:15px}
body.fju-coordinator-dashboard #fju-coord-subdetail #fju-admin-language-settings{margin:0!important;background:#fff!important;align-items:start!important}
body.fju-coordinator-dashboard #fju-coord-subdetail #notification-settings{margin:0!important;background:#fff!important}
body.fju-coordinator-dashboard #fju-coord-status{color:#cd2840;font-size:12px;font-weight:800;text-align:center;margin:16px 0 0;min-height:1em}
@media(max-width:700px){
 body.fju-coordinator-dashboard #inicio{padding:16px 13px}
 body.fju-coordinator-dashboard #fju-coord-app-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:6px;row-gap:12px}
 body.fju-coordinator-dashboard .fju-coord-app-icon{width:73px;height:73px;border-radius:20px;font-size:34px}
 body.fju-coordinator-dashboard .fju-coord-app-label{font-size:12px;min-height:2.7em}
 body.fju-coordinator-dashboard .fju-coord-app{padding:10px 2px}
 body.fju-coordinator-dashboard #fju-coord-choices{padding:13px;margin-top:18px}
 body.fju-coordinator-dashboard .fju-coord-option{font-size:13px}
}
@media(max-width:350px){body.fju-coordinator-dashboard .fju-coord-app-icon{width:64px;height:64px;font-size:31px}}
@media print{body.fju-coordinator-dashboard #fju-coord-app-shell{display:none!important}}

/* Exibe os dados da conta dentro do painel unificado do coordenador. */
body.fju-coordinator-dashboard #fju-coord-app-shell > #fju-my-page {display:block!important;margin:0 0 18px!important;}

/* iPhone: quatro aplicativos em grade equilibrada e ajustes no cartao da conta. */
body.fju-coordinator-dashboard #fju-coord-account-settings{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:12px;padding:8px 14px;border-radius:12px;border:1px solid #d4dfed;background:#f4f7fc;color:#25446c;font-weight:750;font-size:13px;box-shadow:none}
@media(max-width:700px){
 body.fju-coordinator-dashboard #fju-coord-app-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 6px;max-width:480px;margin:0 auto}
 body.fju-coordinator-dashboard .fju-coord-app{padding:10px 4px 12px;gap:9px}
 body.fju-coordinator-dashboard .fju-coord-app-icon{width:72px;height:72px;border-radius:19px;font-size:33px}
 body.fju-coordinator-dashboard .fju-coord-app-label{min-height:0;font-size:13px}
 body.fju-coordinator-dashboard #fju-coord-intro{margin-bottom:12px}
}

/* Área pessoal do coordenador — mesmo padrão compacto de três colunas. */
.fju-coordinator-dashboard #fju-coord-personal-area{margin:18px 0 12px}
.fju-coordinator-dashboard #fju-coord-personal-title{font-size:17px;font-weight:750;margin:0 0 12px;color:#19264b}
.fju-coordinator-dashboard .fju-coord-personal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fju-coordinator-dashboard .fju-coord-personal-link{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;text-decoration:none;color:#19264b;font-size:12px;font-weight:650;min-width:0}
.fju-coordinator-dashboard .fju-coord-personal-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#edf1fb;font-size:28px;box-shadow:0 2px 8px #14213d12}
.fju-coordinator-dashboard .fju-coord-personal-label{overflow-wrap:anywhere}
.fju-coordinator-dashboard #fju-coord-personal-hint{font-size:12px;color:#61708b;margin:12px 0}

.fju-coordinator-dashboard #fju-coord-personal-detail{background:#f4f6fb;border:1px solid #e0e6f0;border-radius:14px;padding:15px;margin-top:15px;color:#19264b}
.fju-coordinator-dashboard #fju-coord-personal-detail[hidden]{display:none!important}
.fju-coordinator-dashboard #fju-coord-personal-detail h4{margin:0 0 8px}
.fju-coordinator-dashboard #fju-coord-personal-detail p{font-size:13px;line-height:1.5}

/* Corrige espaçamento vertical entre a 1ª e 2ª linha de aplicativos no iPhone.
   Esta é a grade real do coordenador, não a grade antiga do painel nacional. */
body.fju-coordinator-dashboard #fju-coord-app-shell,
body.fju-coordinator-dashboard #fju-coord-app-grid{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  align-content:start!important;
  justify-content:initial!important;
}
body.fju-coordinator-dashboard #fju-coord-app-grid{
  display:grid!important;
  grid-template-rows:none!important;
  grid-auto-rows:max-content!important;
  align-items:start!important;
  row-gap:12px!important;
}
body.fju-coordinator-dashboard #fju-coord-app-grid>.fju-coord-app{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
}
body.fju-coordinator-dashboard #fju-coord-personal-area{
  height:auto!important;
  min-height:0!important;
  margin-top:18px!important;
}
body.fju-coordinator-dashboard .fju-coord-personal-grid{
  grid-template-rows:none!important;
  grid-auto-rows:max-content!important;
  align-content:start!important;
  align-items:start!important;
  height:auto!important;
  min-height:0!important;
}

/* Navegação pessoal em tela focada, sem misturar com os ícones do painel. */
body.fju-coordinator-dashboard #fju-coord-app-grid[hidden],
body.fju-coordinator-dashboard #fju-coord-intro[hidden],
body.fju-coordinator-dashboard .fju-coord-personal-grid[hidden],
body.fju-coordinator-dashboard #fju-coord-personal-title[hidden],
body.fju-coordinator-dashboard #fju-coord-personal-hint[hidden]{display:none!important}
body.fju-coordinator-dashboard #fju-coord-personal-detail:not([hidden]){display:block!important;margin:8px 0 16px;padding:18px 16px;border-radius:18px;background:#fff;box-shadow:0 4px 20px rgba(20,35,60,.07)}
body.fju-coordinator-dashboard .fju-coord-personal-back{display:inline-flex;align-items:center;border:0;background:#eef2f7;color:#20314a;border-radius:12px;padding:10px 16px;font-weight:700;margin-bottom:16px;cursor:pointer}

body.fju-coordinator-dashboard #fju-coord-app-shell>#fju-my-page[hidden]{display:none!important}
body.fju-coordinator-dashboard #fju-coord-personal-detail:not([hidden]){min-height:220px;box-sizing:border-box}

/* Fichas is a standalone screen: the coordinator dashboard must not remain visible. */
body.fju-coordinator-dashboard #inicio.hidden{display:none!important}
body.fju-coordinator-dashboard #app.fju-fichas-mode #inicio{display:none!important}
body.fju-coordinator-dashboard #app.fju-fichas-mode #fju-coord-app-shell,
body.fju-coordinator-dashboard #app.fju-fichas-mode #fju-coord-home-return{display:none!important}
body.fju-coordinator-dashboard #app.fju-fichas-mode .fju-content-toolbar{display:none!important}
body.fju-coordinator-dashboard #app.fju-fichas-mode .fju-admin-content{max-width:1080px!important;padding-top:18px!important}
