/* Vista de consulta del rol Subcoordinador.
   La seguridad real vive en PHP; estas reglas solo simplifican la interfaz. */
body.subcoordinator-mode .subcoord-admin-only,
body.subcoordinator-mode .subcoord-sensitive-card{
  display:none !important;
}
body.subcoordinator-mode .sidebar nav{
  padding-top:4px;
}
body.subcoordinator-mode .sidebar .nav[data-view="master"],
body.subcoordinator-mode .sidebar .nav[data-view="volunteers"]{
  border-color:rgba(102,180,255,.18);
}
body.subcoordinator-mode #view-master .section-head,
body.subcoordinator-mode #view-volunteers .section-head{
  align-items:flex-start;
}
body.subcoordinator-mode #view-master .section-head::after,
body.subcoordinator-mode #view-volunteers .section-head::after{
  content:"VISTA DE CONSULTA";
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(70,150,255,.3);
  background:rgba(70,150,255,.08);
  color:var(--primary,#1976d2);
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  white-space:nowrap;
}
body.subcoordinator-mode .master-stats{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
body.subcoordinator-mode #masterIdentityBanner{
  border-left:4px solid #2f80ed;
}
body.subcoordinator-mode .master-table td,
body.subcoordinator-mode .master-table th{
  vertical-align:top;
}
body.subcoordinator-mode .master-row-actions,
body.subcoordinator-mode .volunteer-row-actions{
  white-space:nowrap;
}
body.subcoordinator-mode .operational-phone{
  font-weight:700;
}
body.subcoordinator-mode .operational-status-stack{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
body.subcoordinator-mode .operational-view-note{
  margin-top:8px;
  color:var(--muted,#738196);
  font-size:12px;
}
@media (max-width:900px){
  body.subcoordinator-mode .master-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  body.subcoordinator-mode #view-master .section-head::after,
  body.subcoordinator-mode #view-volunteers .section-head::after{width:100%;justify-content:center;}
  body.subcoordinator-mode .master-stats{grid-template-columns:1fr 1fr;}
}
